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