Package com.vaadin.cdi.internal
Class UIScopedContext
java.lang.Object
org.apache.deltaspike.core.util.context.AbstractContext
com.vaadin.cdi.internal.UIScopedContext
- All Implemented Interfaces:
jakarta.enterprise.context.spi.Context
public class UIScopedContext
extends org.apache.deltaspike.core.util.context.AbstractContext
UIScopedContext is the context for @UIScoped beans.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.deltaspike.core.util.context.ContextualStoragegetContextualStorage(jakarta.enterprise.context.spi.Contextual<?> contextual, boolean createIfNotExist) Class<? extends Annotation> getScope()voidinit(jakarta.enterprise.inject.spi.BeanManager beanManager) booleanisActive()Methods inherited from class org.apache.deltaspike.core.util.context.AbstractContext
checkActive, destroy, destroyAllActive, destroyAllActive, destroyBean, get, get, getActiveContextualStorages, isPassivatingScope
-
Constructor Details
-
UIScopedContext
public UIScopedContext(jakarta.enterprise.inject.spi.BeanManager beanManager)
-
-
Method Details
-
getContextualStorage
protected org.apache.deltaspike.core.util.context.ContextualStorage getContextualStorage(jakarta.enterprise.context.spi.Contextual<?> contextual, boolean createIfNotExist) - Specified by:
getContextualStoragein classorg.apache.deltaspike.core.util.context.AbstractContext
-
init
public void init(jakarta.enterprise.inject.spi.BeanManager beanManager) -
getScope
-
isActive
public boolean isActive()
-