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
-
Method Summary
Modifier and TypeMethodDescription<T> T
get
(Contextual<T> contextual) Get the ClientWindowScoped bean for the given contextual.<T> T
get
(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.boolean
isActive()
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:
get
in 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
-