org.apache.myfaces.cdi
Class DefaultCDIViewScopeHandler
java.lang.Object
org.apache.myfaces.spi.ViewScopeProvider
org.apache.myfaces.cdi.DefaultCDIViewScopeHandler
- Direct Known Subclasses:
- CDIManagedBeanHandlerImpl
public abstract class DefaultCDIViewScopeHandler
- extends ViewScopeProvider
This class handles events related to CDI features. Note the objective
of this class is decouple CDI api from JSF so the methods here should
not have dependencies with javax.enterprise.* classes, to make
cdi jars optional.
- Since:
- 2.2
- Author:
- Leonardo Uribe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultCDIViewScopeHandler
public DefaultCDIViewScopeHandler()
onSessionDestroyed
public abstract void onSessionDestroyed()
- Specified by:
onSessionDestroyed
in class ViewScopeProvider
createViewScopeMap
public abstract Map<String,Object> createViewScopeMap(FacesContext facesContext,
String viewScopeId)
- Specified by:
createViewScopeMap
in class ViewScopeProvider
restoreViewScopeMap
public abstract Map<String,Object> restoreViewScopeMap(FacesContext facesContext,
String viewScopeId)
- Specified by:
restoreViewScopeMap
in class ViewScopeProvider
generateViewScopeId
public abstract String generateViewScopeId(FacesContext facesContext)
- Specified by:
generateViewScopeId
in class ViewScopeProvider
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.