java.lang.Object
com.sun.faces.application.view.ViewScopeContext
- All Implemented Interfaces:
- Context,- Serializable
The CDI context for CDI ViewScoped beans.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<T> Tget(Contextual<T> contextual) Get the ViewScoped bean for the given contextual.<T> Tget(Contextual<T> contextual, CreationalContext<T> creational) Get the existing instance of the ViewScoped bean for the given contextual or create a new one.Class<? extends Annotation> getScope()Get the class of the scope object.booleanisActive()Determine if the context is active.
- 
Constructor Details- 
ViewScopeContextpublic ViewScopeContext()Constructor.
 
- 
- 
Method Details- 
getGet the ViewScoped bean for the given contextual.
- 
getGet the existing instance of the ViewScoped bean for the given contextual or create a new one.- Specified by:
- getin interface- Context
- Type Parameters:
- T- the type.
- Parameters:
- contextual- the contextual.
- creational- the creational.
- Returns:
- the instance.
- Throws:
- ContextNotActiveException- when the context is not active.
 
- 
getScopeGet the class of the scope object.
- 
isActive
 
-