org.apache.myfaces.view.impl
Class DefaultViewScopeHandler
java.lang.Object
org.apache.myfaces.spi.ViewScopeProvider
org.apache.myfaces.view.impl.DefaultViewScopeHandler
public class DefaultViewScopeHandler
- extends ViewScopeProvider
Minimal implementation for view scope without CDI but always store
the beans into session.
- Author:
- Leonardo Uribe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultViewScopeHandler
public DefaultViewScopeHandler()
onSessionDestroyed
public void onSessionDestroyed()
- Specified by:
onSessionDestroyed
in class ViewScopeProvider
createViewScopeMap
public Map<String,Object> createViewScopeMap(FacesContext facesContext,
String viewScopeId)
- Specified by:
createViewScopeMap
in class ViewScopeProvider
restoreViewScopeMap
public Map<String,Object> restoreViewScopeMap(FacesContext facesContext,
String viewScopeId)
- Specified by:
restoreViewScopeMap
in class ViewScopeProvider
generateViewScopeId
public String generateViewScopeId(FacesContext facesContext)
- Specified by:
generateViewScopeId
in class ViewScopeProvider
destroyViewScopeMap
public void destroyViewScopeMap(FacesContext facesContext,
String viewScopeId)
- Specified by:
destroyViewScopeMap
in class ViewScopeProvider
Copyright © 2015 The Apache Software Foundation. All rights reserved.