public abstract class AbstractPersistentCollectionCodec<H extends PersistentCollection> extends Object implements ExtendedObjectCodec
| Modifier and Type | Field and Description |
|---|---|
protected String |
clientCollectionClassName |
protected Class<H> |
hibernateCollectionClass |
| Constructor and Description |
|---|
AbstractPersistentCollectionCodec(Class<H> hibernateCollectionClass) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDecode(ExtendedObjectInput in,
String className) |
boolean |
canEncode(ExtendedObjectOutput out,
Object v) |
void |
decode(ExtendedObjectInput in,
Object v) |
void |
encode(ExtendedObjectOutput out,
Object v) |
String |
getDecodedClassName(ExtendedObjectInput in,
String className) |
String |
getEncodedClassName(ExtendedObjectOutput out,
Object v) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewInstanceprotected final Class<H extends PersistentCollection> hibernateCollectionClass
protected final String clientCollectionClassName
public AbstractPersistentCollectionCodec(Class<H> hibernateCollectionClass)
public boolean canEncode(ExtendedObjectOutput out, Object v)
canEncode in interface ExtendedObjectCodecpublic String getEncodedClassName(ExtendedObjectOutput out, Object v)
getEncodedClassName in interface ExtendedObjectCodecpublic void encode(ExtendedObjectOutput out, Object v) throws IOException, IllegalAccessException
encode in interface ExtendedObjectCodecIOExceptionIllegalAccessExceptionpublic boolean canDecode(ExtendedObjectInput in, String className)
canDecode in interface ExtendedObjectCodecpublic String getDecodedClassName(ExtendedObjectInput in, String className)
getDecodedClassName in interface ExtendedObjectCodecpublic void decode(ExtendedObjectInput in, Object v) throws IOException, ClassNotFoundException, IllegalAccessException
decode in interface ExtendedObjectCodecIOExceptionClassNotFoundExceptionIllegalAccessException