Class ClientWindowScopeContext
java.lang.Object
org.apache.myfaces.cdi.clientwindow.ClientWindowScopeContext
- All Implemented Interfaces:
- jakarta.enterprise.context.spi.Context
@Typed
public class ClientWindowScopeContext
extends Object
implements jakarta.enterprise.context.spi.Context
Minimal implementation of ClientWindowScope.
- 
Constructor SummaryConstructorsConstructorDescriptionClientWindowScopeContext(jakarta.enterprise.inject.spi.BeanManager beanManager) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidcheckActive(FacesContext facesContext) booleandestroy(jakarta.enterprise.context.spi.Contextual bean) static voiddestroyAll(FacesContext facesContext) static voiddestroyAll(FacesContext context, String clientWindowId) <T> Tget(jakarta.enterprise.context.spi.Contextual<T> bean) <T> Tget(jakarta.enterprise.context.spi.Contextual<T> bean, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext) protected ContextualStoragegetContextualStorage(FacesContext facesContext, boolean createIfNotExist) protected StringgetCurrentClientWindowId(FacesContext context) Class<? extends Annotation>getScope()protected ClientWindowScopeContextualStorageHoldergetStorageHolder(FacesContext context) booleanisActive()booleanisActive(FacesContext facesContext) static voidpushClientWindow(FacesContext context, ClientWindow clientWindow) 
- 
Constructor Details- 
ClientWindowScopeContextpublic ClientWindowScopeContext(jakarta.enterprise.inject.spi.BeanManager beanManager) 
 
- 
- 
Method Details- 
getScope- Specified by:
- getScopein interface- jakarta.enterprise.context.spi.Context
 
- 
isActivepublic boolean isActive()- Specified by:
- isActivein interface- jakarta.enterprise.context.spi.Context
 
- 
isActive
- 
getContextualStorageprotected ContextualStorage getContextualStorage(FacesContext facesContext, boolean createIfNotExist) 
- 
getpublic <T> T get(jakarta.enterprise.context.spi.Contextual<T> bean) - Specified by:
- getin interface- jakarta.enterprise.context.spi.Context
 
- 
getpublic <T> T get(jakarta.enterprise.context.spi.Contextual<T> bean, jakarta.enterprise.context.spi.CreationalContext<T> creationalContext) - Specified by:
- getin interface- jakarta.enterprise.context.spi.Context
 
- 
checkActive
- 
getStorageHolder
- 
getCurrentClientWindowId
- 
destroypublic boolean destroy(jakarta.enterprise.context.spi.Contextual bean) 
- 
destroyAll
- 
destroyAll
- 
pushClientWindow
 
-