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  ViewScopedclass. | 
| boolean | isActive()Returns  trueif there is aFacesContext, and it has aUIViewRoot, andisInitialized()has returnedtrue. | 
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–2020 OmniFaces. All rights reserved.