Class ViewScopeProxyMap

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
org.apache.myfaces.view.ViewScopeProxyMap
All Implemented Interfaces:
StateHolder, Serializable, Cloneable, Map<String,Object>

public class ViewScopeProxyMap extends HashMap<String,Object> implements StateHolder
This wrapper has these objectives: - Isolate the part that needs to be saved with the view (viewScopeId) from the part that should remain into session (bean map). This class will be serialized when UIViewRoot.saveState() is called. - Decouple the way how the view scope map is stored. For example, in CDI view scope a session scope bean is used, and in default view scope the same session map is used but using a prefix.
Author:
Leonardo Uribe
See Also: