public class TopLinkExternalizer extends org.granite.messaging.amf.io.util.externalizer.DefaultExternalizer
| Constructor and Description |
|---|
TopLinkExternalizer() |
| Modifier and Type | Method and Description |
|---|---|
int |
accept(Class<?> clazz) |
protected boolean |
isRegularEntity(Class<?> clazz) |
protected org.granite.messaging.persistence.AbstractExternalizablePersistentCollection |
newExternalizableCollection(oracle.toplink.essentials.indirection.IndirectContainer value) |
protected oracle.toplink.essentials.indirection.IndirectContainer |
newIndirectCollection(org.granite.messaging.persistence.AbstractExternalizablePersistentCollection value,
Type target) |
Object |
newInstance(String type,
ObjectInput in) |
void |
readExternal(Object o,
ObjectInput in) |
void |
writeExternal(Object o,
ObjectOutput out) |
public TopLinkExternalizer()
public Object newInstance(String type, ObjectInput in) throws IOException, ClassNotFoundException, InstantiationException, InvocationTargetException, IllegalAccessException
newInstance in interface org.granite.messaging.amf.io.util.externalizer.ExternalizernewInstance in class org.granite.messaging.amf.io.util.externalizer.DefaultExternalizerIOExceptionClassNotFoundExceptionInstantiationExceptionInvocationTargetExceptionIllegalAccessExceptionpublic void readExternal(Object o, ObjectInput in) throws IOException, ClassNotFoundException, IllegalAccessException
readExternal in interface org.granite.messaging.amf.io.util.externalizer.ExternalizerreadExternal in class org.granite.messaging.amf.io.util.externalizer.DefaultExternalizerIOExceptionClassNotFoundExceptionIllegalAccessExceptionprotected oracle.toplink.essentials.indirection.IndirectContainer newIndirectCollection(org.granite.messaging.persistence.AbstractExternalizablePersistentCollection value, Type target)
public void writeExternal(Object o, ObjectOutput out) throws IOException, IllegalAccessException
writeExternal in interface org.granite.messaging.amf.io.util.externalizer.ExternalizerwriteExternal in class org.granite.messaging.amf.io.util.externalizer.DefaultExternalizerIOExceptionIllegalAccessExceptionprotected org.granite.messaging.persistence.AbstractExternalizablePersistentCollection newExternalizableCollection(oracle.toplink.essentials.indirection.IndirectContainer value)
public int accept(Class<?> clazz)
accept in interface org.granite.messaging.amf.io.util.externalizer.Externalizeraccept in class org.granite.messaging.amf.io.util.externalizer.DefaultExternalizerprotected boolean isRegularEntity(Class<?> clazz)