org.codehaus.wadi.core.motable
Class AbstractMotableMemento

java.lang.Object
  extended by org.codehaus.wadi.core.eviction.SimpleEvictableMemento
      extended by org.codehaus.wadi.core.motable.AbstractMotableMemento
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable
Direct Known Subclasses:
StandardSessionMemento

public class AbstractMotableMemento
extends SimpleEvictableMemento

Version:
$Revision: 1538 $
See Also:
Serialized Form

Field Summary
protected  java.lang.String name
           
protected  boolean newSession
           
 
Fields inherited from class org.codehaus.wadi.core.eviction.SimpleEvictableMemento
creationTime, lastAccessedTime, maxInactiveInterval
 
Constructor Summary
AbstractMotableMemento()
           
 
Method Summary
 java.lang.String getName()
           
 boolean isNewSession()
           
 void readExternal(java.io.ObjectInput oi)
           
 void setName(java.lang.String name)
           
 void setNewSession(boolean newSession)
           
 void writeExternal(java.io.ObjectOutput oo)
           
 
Methods inherited from class org.codehaus.wadi.core.eviction.SimpleEvictableMemento
getCreationTime, getLastAccessedTime, getMaxInactiveInterval, getTimedOut, getTimeToLive, setCreationTime, setLastAccessedTime, setMaxInactiveInterval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

newSession

protected boolean newSession
Constructor Detail

AbstractMotableMemento

public AbstractMotableMemento()
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

isNewSession

public boolean isNewSession()

setNewSession

public void setNewSession(boolean newSession)

readExternal

public void readExternal(java.io.ObjectInput oi)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Overrides:
readExternal in class SimpleEvictableMemento
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeExternal

public void writeExternal(java.io.ObjectOutput oo)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Overrides:
writeExternal in class SimpleEvictableMemento
Throws:
java.io.IOException


Copyright © 2008. All Rights Reserved.