public class ViewScopeContext extends Object implements Context
ViewScoped,
ViewScopeManager| Constructor and Description |
|---|
ViewScopeContext() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(Contextual<T> type) |
<T> T |
get(Contextual<T> type,
CreationalContext<T> context) |
Class<? extends Annotation> |
getScope()
Returns
ViewScoped class. |
boolean |
isActive()
Returns
true if there is a FacesContext, and it has a UIViewRoot, and
isInitialized() has returned true. |
public Class<? extends Annotation> getScope()
ViewScoped class.public boolean isActive()
true if there is a FacesContext, and it has a UIViewRoot, and
isInitialized() has returned true.public <T> T get(Contextual<T> type)
public <T> T get(Contextual<T> type, CreationalContext<T> context)
Copyright © 2012–2017 OmniFaces. All rights reserved.