java.lang.Object
com.sun.faces.application.view.ViewScopeContext
- All Implemented Interfaces:
 Context,Serializable
The CDI context for CDI ViewScoped beans.
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier 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
- 
ViewScopeContext
public ViewScopeContext()Constructor. 
 - 
 - 
Method Details
- 
get
Get the ViewScoped bean for the given contextual. - 
get
Get the existing instance of the ViewScoped bean for the given contextual or create a new one.- Specified by:
 getin interfaceContext- Type Parameters:
 T- the type.- Parameters:
 contextual- the contextual.creational- the creational.- Returns:
 - the instance.
 - Throws:
 ContextNotActiveException- when the context is not active.
 - 
getScope
Get the class of the scope object. - 
isActive
 
 -