org.codehaus.wadi.core.store
Class BasicStoreMotable
java.lang.Object
org.codehaus.wadi.core.eviction.SimpleEvictable
org.codehaus.wadi.core.motable.AbstractMotable
org.codehaus.wadi.core.store.BasicStoreMotable
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable, Evictable, Motable
public class BasicStoreMotable
- extends AbstractMotable
- Version:
- $Revision: 2267 $
- Author:
- Jules Gosnell
- See Also:
- Serialized Form
| Methods inherited from class org.codehaus.wadi.core.motable.AbstractMotable |
copy, getAbstractMotableMemento, getName, getReadWriteLock, init, initExisting, isNew, mote, newMemento, newReadWriteLock, onDeserialization, rehydrate, restore |
| Methods inherited from class org.codehaus.wadi.core.eviction.SimpleEvictable |
copy, getCreationTime, getLastAccessedTime, getMaxInactiveInterval, getTimedOut, getTimeToLive, init, mote, onSerialization, setLastAccessedTime, setMaxInactiveInterval |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicStoreMotable
public BasicStoreMotable(Store store)
getBodyAsByteArray
public byte[] getBodyAsByteArray()
throws java.lang.Exception
- Throws:
java.lang.Exception
setBodyAsByteArray
public void setBodyAsByteArray(byte[] body)
throws java.lang.Exception
- Throws:
java.lang.Exception
destroy
public void destroy()
throws java.lang.Exception
- Specified by:
destroy in interface Evictable- Overrides:
destroy in class AbstractMotable
- Throws:
java.lang.Exception
destroyForMotion
public void destroyForMotion()
throws java.lang.Exception
- Overrides:
destroyForMotion in class AbstractMotable
- Throws:
java.lang.Exception
writeExternal
public void writeExternal(java.io.ObjectOutput oo)
throws java.io.IOException
- Specified by:
writeExternal in interface java.io.Externalizable- Overrides:
writeExternal in class SimpleEvictable
- Throws:
java.io.IOException
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 SimpleEvictable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
Copyright © 2010. All Rights Reserved.