com.liferay.faces.bridge.context.map
Class ApplicationMap

java.lang.Object
  extended by com.liferay.faces.util.map.AbstractPropertyMap<Object>
      extended by com.liferay.faces.bridge.context.map.ApplicationMap
All Implemented Interfaces:
Map<String,Object>

public class ApplicationMap
extends AbstractPropertyMap<Object>

Author:
Neil Griffin

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
ApplicationMap(javax.portlet.PortletContext portletContext, BeanManager beanManager, boolean preferPreDestroy)
           
 
Method Summary
 void clear()
          According to the JSF 2.0 JavaDocs for ExternalContext.getApplicationMap, before a managed-bean is removed from the map, any public no-argument void return methods annotated with javax.annotation.PreDestroy must be called first.
protected  AbstractPropertyMapEntry<Object> createPropertyMapEntry(String name)
           
protected  Object getProperty(String name)
           
protected  Enumeration<String> getPropertyNames()
           
 Object remove(Object key)
          According to the JSF 2.0 JavaDocs for ExternalContext.getApplicationMap, before a managed-bean is removed from the map, any public no-argument void return methods annotated with javax.annotation.PreDestroy must be called first.
protected  void removeProperty(String name)
           
protected  void setProperty(String name, Object value)
           
 
Methods inherited from class com.liferay.faces.util.map.AbstractPropertyMap
containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, size, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

ApplicationMap

public ApplicationMap(javax.portlet.PortletContext portletContext,
                      BeanManager beanManager,
                      boolean preferPreDestroy)
Method Detail

clear

public void clear()
According to the JSF 2.0 JavaDocs for ExternalContext.getApplicationMap, before a managed-bean is removed from the map, any public no-argument void return methods annotated with javax.annotation.PreDestroy must be called first.

Specified by:
clear in interface Map<String,Object>
Overrides:
clear in class AbstractPropertyMap<Object>

remove

public Object remove(Object key)
According to the JSF 2.0 JavaDocs for ExternalContext.getApplicationMap, before a managed-bean is removed from the map, any public no-argument void return methods annotated with javax.annotation.PreDestroy must be called first.

Specified by:
remove in interface Map<String,Object>
Overrides:
remove in class AbstractPropertyMap<Object>

createPropertyMapEntry

protected AbstractPropertyMapEntry<Object> createPropertyMapEntry(String name)
Specified by:
createPropertyMapEntry in class AbstractPropertyMap<Object>

removeProperty

protected void removeProperty(String name)
Specified by:
removeProperty in class AbstractPropertyMap<Object>

getProperty

protected Object getProperty(String name)
Specified by:
getProperty in class AbstractPropertyMap<Object>

setProperty

protected void setProperty(String name,
                           Object value)
Specified by:
setProperty in class AbstractPropertyMap<Object>

getPropertyNames

protected Enumeration<String> getPropertyNames()
Specified by:
getPropertyNames in class AbstractPropertyMap<Object>


Copyright © 2014 Liferay, Inc.. All Rights Reserved.