public class ViewScopeContextManager extends Object
| Constructor and Description |
|---|
ViewScopeContextManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear(FacesContext facesContext)
Clear the current view map using the Faces context.
|
void |
clear(FacesContext facesContext,
Map<String,Object> viewMap)
Clear the given view map.
|
<T> T |
createBean(FacesContext facesContext,
javax.enterprise.context.spi.Contextual<T> contextual,
javax.enterprise.context.spi.CreationalContext<T> creational)
Create the bean.
|
void |
fireDestroyedEvent(FacesContext facesContext,
UIViewRoot root) |
void |
fireInitializedEvent(FacesContext facesContext,
UIViewRoot root) |
<T> T |
getBean(FacesContext facesContext,
javax.enterprise.context.spi.Contextual<T> contextual)
Get the value from the view map (or null if not found).
|
void |
sessionDestroyed(javax.servlet.http.HttpSessionEvent hse)
Called when a session destroyed.
|
public void clear(FacesContext facesContext)
facesContext - the Faces context.public void clear(FacesContext facesContext, Map<String,Object> viewMap)
facesContext - the Faces context.viewMap - the given view map.public <T> T createBean(FacesContext facesContext, javax.enterprise.context.spi.Contextual<T> contextual, javax.enterprise.context.spi.CreationalContext<T> creational)
T - the type.facesContext - the faces context.contextual - the contextual.creational - the creational.public <T> T getBean(FacesContext facesContext, javax.enterprise.context.spi.Contextual<T> contextual)
T - the type.facesContext - the faces context.contextual - the contextual.public void sessionDestroyed(javax.servlet.http.HttpSessionEvent hse)
hse - the HTTP session event.public void fireInitializedEvent(FacesContext facesContext, UIViewRoot root)
public void fireDestroyedEvent(FacesContext facesContext, UIViewRoot root)
Copyright © 1997–2019 Eclipse Foundation. All rights reserved.