java.lang.Object
org.omnifaces.cdi.viewscope.ViewScopeContext
- All Implemented Interfaces:
Context
- Since:
- 1.6
- Author:
- Radu Creanga <rdcrng@gmail.com>, Bauke Scholtz
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> Tget(Contextual<T> type) <T> Tget(Contextual<T> type, CreationalContext<T> context) Class<? extends Annotation>getScope()ReturnsViewScopedclass.booleanisActive()Returnstrueif there is aFacesContext, and it has aUIViewRoot, andisInitialized()has returnedtrue.
-
Constructor Details
-
ViewScopeContext
public ViewScopeContext()
-
-
Method Details
-
getScope
ReturnsViewScopedclass. -
isActive
public boolean isActive()Returnstrueif there is aFacesContext, and it has aUIViewRoot, andisInitialized()has returnedtrue. -
get
-
get
-