org.apache.myfaces.spi
Class ViewScopeProvider
java.lang.Object
org.apache.myfaces.spi.ViewScopeProvider
- Direct Known Subclasses:
- CDIManagedBeanHandlerImpl, DefaultViewScopeHandler
public abstract class ViewScopeProvider
- extends Object
TODO: (Optional) provide something to cleanup the session when a view
is discarded.
- Author:
- Leonardo Uribe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ViewScopeProvider
public ViewScopeProvider()
onSessionDestroyed
public abstract void onSessionDestroyed()
generateViewScopeId
public abstract String generateViewScopeId(FacesContext facesContext)
createViewScopeMap
public abstract Map<String,Object> createViewScopeMap(FacesContext facesContext,
String viewScopeId)
restoreViewScopeMap
public abstract Map<String,Object> restoreViewScopeMap(FacesContext facesContext,
String viewScopeId)
destroyViewScopeMap
public abstract void destroyViewScopeMap(FacesContext facesContext,
String viewScopeId)
Copyright © 2014 The Apache Software Foundation. All rights reserved.