org.apache.myfaces.context.servlet
Class ApplicationMap

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.ApplicationMap
All Implemented Interfaces:
Map<String,Object>

public final class ApplicationMap
extends AbstractThreadSafeAttributeMap<Object>

ServletContext attributes as a Map.

Version:
$Revision: 1000662 $ $Date: 2010-09-23 18:11:42 -0500 (Thu, 23 Sep 2010) $
Author:
Anton Koinov (latest modification by $Author: lu4242 $)

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
 void clear()
           
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
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>

clear

public void clear()
Specified by:
clear in interface Map<String,Object>
Overrides:
clear in class AbstractThreadSafeAttributeMap<Object>


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