org.codehaus.wadi.web
Class BasicWebSession
java.lang.Object
org.codehaus.wadi.core.eviction.SimpleEvictable
org.codehaus.wadi.core.motable.AbstractMotable
org.codehaus.wadi.core.session.StandardSession
org.codehaus.wadi.core.session.DistributableSession
org.codehaus.wadi.core.session.AbstractReplicableSession
org.codehaus.wadi.core.session.AtomicallyReplicableSession
org.codehaus.wadi.web.BasicWebSession
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, Evictable, Motable, Session, WADIHttpSession, WebSession
public class BasicWebSession
- extends AtomicallyReplicableSession
- implements WADIHttpSession
- Version:
- $Revision: 1538 $
- See Also:
- Serialized Form
| Methods inherited from class org.codehaus.wadi.core.motable.AbstractMotable |
copy, getAbstractMotableMemento, getName, getReadWriteLock, init, initExisting, isNew, mote, newReadWriteLock, rehydrate, restore |
| Methods inherited from class org.codehaus.wadi.core.eviction.SimpleEvictable |
copy, getCreationTime, getLastAccessedTime, getMaxInactiveInterval, getTimedOut, getTimeToLive, init, mote, readExternal, setLastAccessedTime, writeExternal |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.codehaus.wadi.core.eviction.Evictable |
copy, destroy, getCreationTime, getLastAccessedTime, getMaxInactiveInterval, getTimedOut, getTimeToLive, init, mote, setLastAccessedTime, setMaxInactiveInterval |
| Methods inherited from interface java.io.Externalizable |
readExternal, writeExternal |
config
protected final WebSessionConfig config
router
protected final Router router
wrapper
protected final javax.servlet.http.HttpSession wrapper
httpSessionEvent
protected final javax.servlet.http.HttpSessionEvent httpSessionEvent
BasicWebSession
public BasicWebSession(WebSessionConfig config,
DistributableAttributes attributes,
WebSessionWrapperFactory wrapperFactory,
Router router,
Manager manager,
Streamer streamer,
ReplicationManager replicationManager)
getWrapper
public javax.servlet.http.HttpSession getWrapper()
- Specified by:
getWrapper in interface WADIHttpSession
getHttpSessionEvent
public javax.servlet.http.HttpSessionEvent getHttpSessionEvent()
- Specified by:
getHttpSessionEvent in interface WADIHttpSession
getConfig
public WebSessionConfig getConfig()
- Specified by:
getConfig in interface WebSession
getId
public java.lang.String getId()
- Specified by:
getId in interface WebSession
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Specified by:
getAttribute in interface WebSession
getAttributeNameSet
public java.util.Set getAttributeNameSet()
- Specified by:
getAttributeNameSet in interface WebSession
getAttributeNameEnumeration
public java.util.Enumeration getAttributeNameEnumeration()
- Specified by:
getAttributeNameEnumeration in interface WebSession
getAttributeNameStringArray
public java.lang.String[] getAttributeNameStringArray()
- Specified by:
getAttributeNameStringArray in interface WebSession
setAttribute
public java.lang.Object setAttribute(java.lang.String name,
java.lang.Object newValue)
- Specified by:
setAttribute in interface WebSession
removeAttribute
public java.lang.Object removeAttribute(java.lang.String name)
- Specified by:
removeAttribute in interface WebSession
onDeserialization
protected void onDeserialization()
- Overrides:
onDeserialization in class AbstractMotable
onSerialization
protected void onSerialization()
- Overrides:
onSerialization in class SimpleEvictable
onAddSate
protected void onAddSate(java.lang.Object key,
java.lang.Object oldValue,
java.lang.Object newValue)
- Overrides:
onAddSate in class AtomicallyReplicableSession
onRemoveState
protected void onRemoveState(java.lang.Object key,
java.lang.Object oldValue)
- Overrides:
onRemoveState in class AtomicallyReplicableSession
Copyright © 2010. All Rights Reserved.