| Modifier and Type | Field and Description |
|---|---|
| public static final String | ACTIVE_VIEW_MAPS
Stores the constants to keep track of the active view maps. |
| public static final String | ACTIVE_VIEW_MAPS_SIZE
Stores the constant for the maximum active view map size. |
| private ViewScopeContextManager | contextManager
Stores the CDI context manager. |
| private boolean | |
| private static final Logger | LOGGER
Stores the logger. |
| public static final String | VIEW_MAP
Stores the view map. |
| public static final String | VIEW_MAP_ID
Stores the view map id. |
| public static final String | VIEW_SCOPE_MANAGER
Stores the constant to keep track of the ViewScopeManager. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | clear(FacesContext
the Faces context. facesContext)Clear the current view map using the Faces context. |
| public void | clear(FacesContext
the Faces context. facesContext, Map<String, Object> the view map. viewMap)Clear the given view map. |
| private void | destroyBeans(ApplicationAssociate
the application associate. applicationAssociate, Map<String, Object> the view map. viewMap)Destroy the managed beans from the given view map. |
| public void | destroyBeans(FacesContext
the Faces Context. facesContext, Map<String, Object> the view map. viewMap)Destroy the managed beans from the given view map. |
| pack-priv ViewScopeContextManager | |
| public static ViewScopeManager | |
| public boolean | Returns: true if UIViewRoot, false otherwise.the source. source)Implements javax. |
| public void | processEvent(SystemEvent
the system event. se)Implements javax. |
| private void | processPostConstructViewMap(SystemEvent
the system event. se)Process the PostConstructViewMap system event. |
| private void | processPreDestroyViewMap(SystemEvent
the system event. se)Process the PreDestroyViewMap system event. |
| private void | removeEldestViewMap(FacesContext facesContext, Map<String, Object>
the eldest view map. eldestViewMap)Remove the eldest view map from the active view maps. |
| public void | sessionCreated(HttpSessionEvent
the HTTP session event. se)Overrides default javax. |
| public void | sessionDestroyed(HttpSessionEvent
the HTTP session event. hse)Overrides default javax. |
| ACTIVE_VIEW_MAPS | back to summary |
|---|---|
| public static final String ACTIVE_VIEW_MAPS Stores the constants to keep track of the active view maps. | |
| ACTIVE_VIEW_MAPS_SIZE | back to summary |
|---|---|
| public static final String ACTIVE_VIEW_MAPS_SIZE Stores the constant for the maximum active view map size. | |
| contextManager | back to summary |
|---|---|
| private ViewScopeContextManager contextManager Stores the CDI context manager. | |
| distributable | back to summary |
|---|---|
| private boolean distributable | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER Stores the logger. | |
| VIEW_MAP | back to summary |
|---|---|
| public static final String VIEW_MAP Stores the view map. | |
| VIEW_MAP_ID | back to summary |
|---|---|
| public static final String VIEW_MAP_ID Stores the view map id. | |
| VIEW_SCOPE_MANAGER | back to summary |
|---|---|
| public static final String VIEW_SCOPE_MANAGER Stores the constant to keep track of the ViewScopeManager. | |
| ViewScopeManager | back to summary |
|---|---|
| public ViewScopeManager() Constructor. | |
| clear | back to summary |
|---|---|
| public void clear(FacesContext facesContext) Clear the current view map using the Faces context.
| |
| clear | back to summary |
|---|---|
| public void clear(FacesContext facesContext, Map<String, Object> viewMap) Clear the given view map.
| |
| destroyBeans | back to summary |
|---|---|
| private void destroyBeans(ApplicationAssociate applicationAssociate, Map<String, Object> viewMap) Destroy the managed beans from the given view map.
| |
| destroyBeans | back to summary |
|---|---|
| public void destroyBeans(FacesContext facesContext, Map<String, Object> viewMap) Destroy the managed beans from the given view map.
| |
| getContextManager | back to summary |
|---|---|
| pack-priv ViewScopeContextManager getContextManager() Get the CDI context manager.
| |
| getInstance | back to summary |
|---|---|
| public static ViewScopeManager getInstance(FacesContext facesContext) Get our instance.
| |
| isListenerForSource | back to summary |
|---|---|
| public boolean isListenerForSource(Object source) Implements javax. Is a listener for the given source. | |
| processEvent | back to summary |
|---|---|
| public void processEvent(SystemEvent se) throws AbortProcessingException Implements javax. Process the system event.
| |
| processPostConstructViewMap | back to summary |
|---|---|
| private void processPostConstructViewMap(SystemEvent se) Process the PostConstructViewMap system event.
| |
| processPreDestroyViewMap | back to summary |
|---|---|
| private void processPreDestroyViewMap(SystemEvent se) Process the PreDestroyViewMap system event.
| |
| removeEldestViewMap | back to summary |
|---|---|
| private void removeEldestViewMap(FacesContext facesContext, Map<String, Object> eldestViewMap) Remove the eldest view map from the active view maps. | |
| sessionCreated | back to summary |
|---|---|
| public void sessionCreated(HttpSessionEvent se) Overrides default javax. Create the associated data in the session (if any).
| |
| sessionDestroyed | back to summary |
|---|---|
| public void sessionDestroyed(HttpSessionEvent hse) Overrides default javax. Destroy the associated data in the session.
| |