Package org.apache.myfaces.flow.cdi
Class FlowScopeContextualStorageHolder
java.lang.Object
org.apache.myfaces.cdi.util.AbstractContextualStorageHolder<ContextualStorage>
org.apache.myfaces.flow.cdi.FlowScopeContextualStorageHolder
- All Implemented Interfaces:
- Serializable
@Typed(FlowScopeContextualStorageHolder.class)
@SessionScoped
public class FlowScopeContextualStorageHolder
extends AbstractContextualStorageHolder<ContextualStorage>
implements Serializable
This holder will store the flow scope active ids and it's beans for the current
 HTTP Session. We use standard SessionScoped bean to not need
 to treat async-supported and similar headache.
- Author:
- lu4242
- See Also:
- 
Field SummaryFieldsFields inherited from class org.apache.myfaces.cdi.util.AbstractContextualStorageHolderapplicationContextBean, beanManager, passivating, storageMap
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclearFlowMap(FacesContext facesContext, String clientWindowId) voidcreateCurrentFlowScope(FacesContext facesContext) voiddestroyCurrentFlowScope(FacesContext facesContext) getActiveFlowMapKeys(FacesContext facesContext) getFlowScopeMap(jakarta.enterprise.inject.spi.BeanManager beanManager, String flowClientWindowId, boolean create) getInstance(FacesContext facesContext) getInstance(FacesContext facesContext, boolean create) Class<? extends Annotation>getScope()voidinit()protected booleanisSkipDestroy(Map.Entry<Object, ContextualInstanceInfo<?>> entry) protected ContextualStoragenewContextualStorage(String slotId) voidrefreshClientWindow(FacesContext facesContext) Methods inherited from class org.apache.myfaces.cdi.util.AbstractContextualStorageHolderdestroyAll, destroyAll, destroyAll, forceNewStorage, getContextualStorage, getContextualStorage, getInstance, getInstance, getStorageMap, isPassivating, preDestroy
- 
Field Details- 
CURRENT_FLOW_SCOPE_MAP- See Also:
 
 
- 
- 
Constructor Details- 
FlowScopeContextualStorageHolderpublic FlowScopeContextualStorageHolder()
 
- 
- 
Method Details- 
init@PostConstruct public void init()- Overrides:
- initin class- AbstractContextualStorageHolder<ContextualStorage>
 
- 
getFlowScopeMap
- 
refreshClientWindow
- 
clearFlowMap
- 
getActiveFlowMapKeys
- 
createCurrentFlowScope
- 
destroyCurrentFlowScope
- 
isSkipDestroy- Overrides:
- isSkipDestroyin class- AbstractContextualStorageHolder<ContextualStorage>
 
- 
newContextualStorage- Specified by:
- newContextualStoragein class- AbstractContextualStorageHolder<ContextualStorage>
 
- 
getScope- Specified by:
- getScopein class- AbstractContextualStorageHolder<ContextualStorage>
 
- 
getInstance
- 
getInstancepublic static FlowScopeContextualStorageHolder getInstance(FacesContext facesContext, boolean create) 
 
-