java.lang.Object
com.sun.faces.cdi.clientwindow.ClientWindowScopeContext
- All Implemented Interfaces:
Context,Serializable
The CDI context for CDI ClientWindowScoped beans.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Tget(Contextual<T> contextual) Get the ClientWindowScoped bean for the given contextual.<T> Tget(Contextual<T> contextual, CreationalContext<T> creational) Get the existing instance of the ClientWindowScoped bean for the given contextual or create a new one.Class<? extends Annotation> getScope()Get the class of the scope object.booleanisActive()Determines if the context object is active.
-
Constructor Details
-
ClientWindowScopeContext
public ClientWindowScopeContext()Constructor.
-
-
Method Details
-
get
Get the ClientWindowScoped bean for the given contextual. -
get
Get the existing instance of the ClientWindowScoped 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
-