org.codehaus.wadi.impl
Class DistributableSession
java.lang.Object
org.codehaus.wadi.impl.SimpleEvictable
org.codehaus.wadi.impl.AbstractMotable
org.codehaus.wadi.impl.AbstractContext
org.codehaus.wadi.impl.StandardSession
org.codehaus.wadi.impl.DistributableSession
- All Implemented Interfaces:
- AttributesConfig, Config, Context, DistributableAttributesConfig, Evictable, Motable, Serializable, SerializableContent, Session, WADIHttpSession
- Direct Known Subclasses:
- AbstractReplicableSession
- public class DistributableSession
- extends StandardSession
- implements DistributableAttributesConfig
A Standard Session enhanced with functionality associated with [de]serialisation - necessary to allow the movement of the session from jvm to jvm/storage.
- Version:
- $Revision: 1200 $
- Author:
- Jules Gosnell
- See Also:
- Serialized Form
Methods inherited from class org.codehaus.wadi.impl.StandardSession |
destroy, getAttribute, getAttributeNameEnumeration, getAttributeNameSet, getAttributeNameStringArray, getConfig, getHttpSessionEvent, getId, getValuePool, getWrapper, notifyAttributeListeners, notifyBindingListeners, removeAttribute, setAttribute, setLastAccessedTime, setMaxInactiveInterval |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistributableSession
public DistributableSession(DistributableSessionConfig config)
getStreamer
public Streamer getStreamer()
- Specified by:
getStreamer
in interface DistributableAttributesConfig
readContent
public void readContent(ObjectInput oi)
throws IOException,
ClassNotFoundException
- Specified by:
readContent
in interface SerializableContent
- Overrides:
readContent
in class AbstractMotable
- Throws:
IOException
ClassNotFoundException
writeContent
public void writeContent(ObjectOutput oo)
throws IOException
- Specified by:
writeContent
in interface SerializableContent
- Overrides:
writeContent
in class AbstractMotable
- Throws:
IOException
getBodyAsByteArray
public byte[] getBodyAsByteArray()
throws Exception
- Specified by:
getBodyAsByteArray
in interface Motable
- Overrides:
getBodyAsByteArray
in class StandardSession
- Throws:
Exception
setBodyAsByteArray
public void setBodyAsByteArray(byte[] bytes)
throws IOException,
ClassNotFoundException
- Specified by:
setBodyAsByteArray
in interface Motable
- Overrides:
setBodyAsByteArray
in class StandardSession
- Throws:
IOException
ClassNotFoundException
findHelper
public ValueHelper findHelper(Class type)
- Specified by:
findHelper
in interface DistributableAttributesConfig
getListenerNames
public Set getListenerNames()
getHttpSessionAttributeListenersRegistered
public boolean getHttpSessionAttributeListenersRegistered()
- Specified by:
getHttpSessionAttributeListenersRegistered
in interface DistributableAttributesConfig
Copyright © 2004-2008 Core Developers Network Ltd.. All Rights Reserved.