public class DataNucleusExternalizer extends org.granite.messaging.amf.io.util.externalizer.DefaultExternalizer
| Constructor and Description |
|---|
DataNucleusExternalizer() |
| Modifier and Type | Method and Description |
|---|---|
int |
accept(Class<?> clazz) |
protected void |
deserializeDetachedState(javax.jdo.spi.Detachable pc,
byte[] data) |
List<org.granite.messaging.amf.io.util.Property> |
findOrderedFields(Class<?> clazz,
boolean returnSettersWhenAvailable) |
protected static Object |
getVersion(Object entity) |
protected boolean |
isEmbeddable(Class<?> clazz) |
protected boolean |
isRegularEntity(Class<?> clazz) |
protected Object |
newCollection(org.granite.messaging.persistence.AbstractExternalizablePersistentCollection value,
org.granite.messaging.amf.io.util.Property field) |
Object |
newInstance(String type,
ObjectInput in) |
void |
readExternal(Object o,
ObjectInput in) |
protected byte[] |
serializeDetachedState(Object[] detachedState) |
void |
writeExternal(Object o,
ObjectOutput out) |
public DataNucleusExternalizer()
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 Object newCollection(org.granite.messaging.persistence.AbstractExternalizablePersistentCollection value, org.granite.messaging.amf.io.util.Property field)
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.DefaultExternalizerIOExceptionIllegalAccessExceptionpublic 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)
protected boolean isEmbeddable(Class<?> clazz)
public List<org.granite.messaging.amf.io.util.Property> findOrderedFields(Class<?> clazz, boolean returnSettersWhenAvailable)
findOrderedFields in class org.granite.messaging.amf.io.util.externalizer.DefaultExternalizerprotected byte[] serializeDetachedState(Object[] detachedState)
protected void deserializeDetachedState(javax.jdo.spi.Detachable pc, byte[] data)
protected static Object getVersion(Object entity)