Package com.vaadin.quarkus.context
Class VaadinServiceScopedContext
java.lang.Object
com.vaadin.quarkus.context.AbstractContext
com.vaadin.quarkus.context.VaadinServiceScopedContext
- All Implemented Interfaces:
io.quarkus.arc.InjectableContext,jakarta.enterprise.context.spi.AlterableContext,jakarta.enterprise.context.spi.Context
Context for
@VaadinServiceScoped beans.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from interface io.quarkus.arc.InjectableContext
io.quarkus.arc.InjectableContext.ContextState -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ContextualStoragegetContextualStorage(jakarta.enterprise.context.spi.Contextual<?> contextual, boolean createIfNotExist) An implementation has to return the underlying storage which contains the items held in the Context.Class<? extends Annotation> getScope()booleanisActive()Methods inherited from class com.vaadin.quarkus.context.AbstractContext
checkActive, destroy, destroy, destroyAllActive, destroyAllActive, destroyBean, get, get, getActiveContextualStorages, getStateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.arc.InjectableContext
destroy, getIfActive, getStateIfActive, isNormal
-
Constructor Details
-
VaadinServiceScopedContext
public VaadinServiceScopedContext()
-
-
Method Details
-
getContextualStorage
protected ContextualStorage getContextualStorage(jakarta.enterprise.context.spi.Contextual<?> contextual, boolean createIfNotExist) Description copied from class:AbstractContextAn implementation has to return the underlying storage which contains the items held in the Context.- Specified by:
getContextualStoragein classAbstractContext- Parameters:
contextual- the contextual typecreateIfNotExist- whether a ContextualStorage shall get created if it doesn't yet exist.- Returns:
- the underlying storage
-
getScope
-
isActive
public boolean isActive()
-