org.apache.myfaces.context.servlet
Class SessionMap

java.lang.Object
  extended by java.util.AbstractMap<String,V>
      extended by org.apache.myfaces.util.AbstractThreadSafeAttributeMap<Object>
          extended by org.apache.myfaces.context.servlet.SessionMap
All Implemented Interfaces:
Map<String,Object>

public final class SessionMap
extends AbstractThreadSafeAttributeMap<Object>

HttpSession attibutes as Map.

Version:
$Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
Author:
Anton Koinov (latest modification by $Author: bommel $)

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
protected  Object getAttribute(String key)
           
protected  Enumeration<String> getAttributeNames()
           
 void putAll(Map<? extends String,? extends Object> t)
           
protected  void removeAttribute(String key)
           
protected  void setAttribute(String key, Object value)
           
 
Methods inherited from class org.apache.myfaces.util.AbstractThreadSafeAttributeMap
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, remove, size, values
 
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getAttribute

protected Object getAttribute(String key)
Specified by:
getAttribute in class AbstractThreadSafeAttributeMap<Object>

setAttribute

protected void setAttribute(String key,
                            Object value)
Specified by:
setAttribute in class AbstractThreadSafeAttributeMap<Object>

removeAttribute

protected void removeAttribute(String key)
Specified by:
removeAttribute in class AbstractThreadSafeAttributeMap<Object>

getAttributeNames

protected Enumeration<String> getAttributeNames()
Specified by:
getAttributeNames in class AbstractThreadSafeAttributeMap<Object>

putAll

public void putAll(Map<? extends String,? extends Object> t)
Specified by:
putAll in interface Map<String,Object>
Overrides:
putAll in class AbstractThreadSafeAttributeMap<Object>


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.