com.caucho.portal.generic
Class SessionPreferences

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<K,V>
          extended by java.util.LinkedHashMap<java.lang.String,java.lang.String[]>
              extended by com.caucho.portal.generic.SessionPreferences
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.EventListener, java.util.Map<java.lang.String,java.lang.String[]>, HttpSessionActivationListener, HttpSessionBindingListener

public class SessionPreferences
extends java.util.LinkedHashMap<java.lang.String,java.lang.String[]>
implements java.io.Serializable, HttpSessionBindingListener, HttpSessionActivationListener

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Constructor Summary
SessionPreferences()
           
 
Method Summary
 java.lang.String[] put(java.lang.String key, java.lang.String[] value)
           
 void sessionDidActivate(HttpSessionEvent event)
          Callback after the session activates.
 void sessionWillPassivate(HttpSessionEvent event)
          Callback before the session passivates.
 void valueBound(HttpSessionBindingEvent event)
          Called when the object is added to a session.
 void valueUnbound(HttpSessionBindingEvent event)
          Called when the object is removed from a session or the session is invalidated.
 
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, get, removeEldestEntry
 
Methods inherited from class java.util.HashMap
clone, containsKey, entrySet, isEmpty, keySet, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
containsKey, entrySet, equals, hashCode, isEmpty, keySet, putAll, remove, size, values
 

Constructor Detail

SessionPreferences

public SessionPreferences()
Method Detail

valueBound

public void valueBound(HttpSessionBindingEvent event)
Description copied from interface: HttpSessionBindingListener
Called when the object is added to a session.

Specified by:
valueBound in interface HttpSessionBindingListener
Parameters:
event - session event object

valueUnbound

public void valueUnbound(HttpSessionBindingEvent event)
Description copied from interface: HttpSessionBindingListener
Called when the object is removed from a session or the session is invalidated.

Specified by:
valueUnbound in interface HttpSessionBindingListener
Parameters:
event - session event object

sessionDidActivate

public void sessionDidActivate(HttpSessionEvent event)
Description copied from interface: HttpSessionActivationListener
Callback after the session activates.

Specified by:
sessionDidActivate in interface HttpSessionActivationListener
Parameters:
event - the event for the session activation

sessionWillPassivate

public void sessionWillPassivate(HttpSessionEvent event)
Description copied from interface: HttpSessionActivationListener
Callback before the session passivates.

Specified by:
sessionWillPassivate in interface HttpSessionActivationListener
Parameters:
event - the event for the session passivation.

put

public java.lang.String[] put(java.lang.String key,
                              java.lang.String[] value)
Specified by:
put in interface java.util.Map<java.lang.String,java.lang.String[]>
Overrides:
put in class java.util.HashMap<java.lang.String,java.lang.String[]>