Package org.apache.myfaces.cdi.view
Class ViewScopeContextualStorageHolder
java.lang.Object
org.apache.myfaces.cdi.util.AbstractContextualStorageHolder<ContextualStorage>
org.apache.myfaces.cdi.view.ViewScopeContextualStorageHolder
- All Implemented Interfaces:
Serializable
@Typed(ViewScopeContextualStorageHolder.class)
@SessionScoped
public class ViewScopeContextualStorageHolder
extends AbstractContextualStorageHolder<ContextualStorage>
implements Serializable
- Author:
- Leonardo Uribe
- See Also:
-
Field Summary
Fields inherited from class org.apache.myfaces.cdi.util.AbstractContextualStorageHolder
applicationContextBean, beanManager, passivating, storageMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static ViewScopeContextualStorageHolder
getInstance
(FacesContext facesContext) protected static ViewScopeContextualStorageHolder
getInstance
(FacesContext facesContext, boolean create) Class<? extends Annotation>
getScope()
protected ContextualStorage
newContextualStorage
(String slotId) Methods inherited from class org.apache.myfaces.cdi.util.AbstractContextualStorageHolder
destroyAll, destroyAll, destroyAll, forceNewStorage, getContextualStorage, getContextualStorage, getInstance, getInstance, getStorageMap, init, isPassivating, isSkipDestroy, preDestroy
-
Constructor Details
-
ViewScopeContextualStorageHolder
public ViewScopeContextualStorageHolder()
-
-
Method Details
-
generateUniqueViewScopeId
-
newContextualStorage
- Specified by:
newContextualStorage
in classAbstractContextualStorageHolder<ContextualStorage>
-
getInstance
-
getInstance
protected static ViewScopeContextualStorageHolder getInstance(FacesContext facesContext, boolean create) -
getScope
- Specified by:
getScope
in classAbstractContextualStorageHolder<ContextualStorage>
-