Skip to content

Feature/quarkus vaadin8 integration #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 15 commits into
base: 3.0
Choose a base branch
from

Conversation

t1m0
Copy link
Collaborator

@t1m0 t1m0 commented Apr 25, 2022

No description provided.

SimiGi added 11 commits April 21, 2022 13:58
Vaadin-cdi uses the same context-instance for
Normal and UI-Scoped annotations. The differentiation
was introduced to also provide proxies for CDI.
Since this caused some issues with the current setup, we had to unify
the scopes and therefore remove the normal-scopes.
* Add commons3-lang dependency.
Copy link
Collaborator Author

@t1m0 t1m0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me - nothing negative found

contexts.add(context);
}

Assertions.assertEquals(7, availableScopes.size());
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

static import?

</dependencies>
</dependencyManagement>

</project>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no new line at the end

# guide: ...
# categories:
# - "miscellaneous"
# status: "preview"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no new line at the end

import org.apache.deltaspike.core.util.context.ContextualInstanceInfo;
import org.apache.deltaspike.core.util.context.ContextualStorage;

public abstract class AbstractVaadinContext implements InjectableContext {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe add a reference to deltaspike?

@@ -53,6 +49,10 @@ public UIContextualStorageManager getUIContextualStorageManager() {
return contextualStorageManager;
}

protected ContextualStorage getContextualStorage(Contextual<?> contextual, boolean createIfNotExist) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Der Diff könnte aufgehoben werden durch umplatzieren

@@ -77,4 +69,12 @@ && getViewContextualStorageManager() != null
protected Class<?> getBeanType() {
return ViewContextualStorageManager.class;
}

@Override
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Der Diff könnte aufgehoben werden durch umplatzieren

@Override
public Class<? extends Annotation> getScope() {
return ViewScoped.class;
protected ContextualStorage getContextualStorage(Contextual<?> contextual, boolean createIfNotExist) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Der Diff könnte aufgehoben werden durch umplatzieren

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants