public class ViewScopeContextManager extends Object
| Constructor and Description |
|---|
ViewScopeContextManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear(javax.faces.context.FacesContext facesContext)
Clear the current view map using the Faces context.
|
void |
clear(javax.faces.context.FacesContext facesContext,
Map<String,Object> viewMap)
Deprecated.
|
void |
clear(javax.faces.context.FacesContext facesContext,
String viewMapId,
Map<String,Object> viewMap)
Clear the given view map.
|
<T> T |
createBean(javax.faces.context.FacesContext facesContext,
javax.enterprise.context.spi.Contextual<T> contextual,
javax.enterprise.context.spi.CreationalContext<T> creational)
Create the bean.
|
void |
fireDestroyedEvent(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIViewRoot root) |
void |
fireInitializedEvent(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIViewRoot root) |
<T> T |
getBean(javax.faces.context.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(javax.faces.context.FacesContext facesContext)
facesContext - the Faces context.@Deprecated public void clear(javax.faces.context.FacesContext facesContext, Map<String,Object> viewMap)
facesContext - the Faces context.viewMap - the given view map.public void clear(javax.faces.context.FacesContext facesContext,
String viewMapId,
Map<String,Object> viewMap)
facesContext - the Faces context.viewMapId - The ID of the view mapviewMap - the given view map.public <T> T createBean(javax.faces.context.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(javax.faces.context.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(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIViewRoot root)
public void fireDestroyedEvent(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIViewRoot root)
Copyright © 2010–2024 JBoss by Red Hat. All rights reserved.