com.appenginefan.toolkit.persistence
Class ObjectPersistence<T extends Serializable>
java.lang.Object
com.appenginefan.toolkit.persistence.MarshallingPersistence<T>
com.appenginefan.toolkit.persistence.ObjectPersistence<T>
- All Implemented Interfaces:
- Persistence<T>
public class ObjectPersistence<T extends Serializable>
- extends MarshallingPersistence<T>
A persistence that uses serialization to put objects into
a store. Use with caution!
|
Method Summary |
protected byte[] |
makeArray(T nonNullValue)
|
protected T |
makeType(byte[] nonNullValue)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectPersistence
public ObjectPersistence(Persistence<byte[]> backend)
makeArray
protected byte[] makeArray(T nonNullValue)
- Specified by:
makeArray in class MarshallingPersistence<T extends Serializable>
makeType
protected T makeType(byte[] nonNullValue)
- Specified by:
makeType in class MarshallingPersistence<T extends Serializable>