public abstract class JSerializer extends java.lang.Object implements Serializer
ExtendedActorSystem
, because
that is the preferred constructor which will be invoked when reflectively instantiating
the JSerializer (also possible with empty constructor).Constructor and Description |
---|
JSerializer() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
fromBinary(byte[] bytes,
scala.Option<java.lang.Class<?>> manifest)
Produces an object from an array of bytes, with an optional type-hint;
the class should be loaded using ActorSystem.dynamicAccess.
|
protected abstract java.lang.Object |
fromBinaryJava(byte[] bytes,
java.lang.Class<?> manifest)
This method must be implemented, manifest may be null.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromBinary, fromBinary, identifier, includeManifest, toBinary
public final java.lang.Object fromBinary(byte[] bytes, scala.Option<java.lang.Class<?>> manifest)
Serializer
fromBinary
in interface Serializer
bytes
- (undocumented)manifest
- (undocumented)protected abstract java.lang.Object fromBinaryJava(byte[] bytes, java.lang.Class<?> manifest)
bytes
- (undocumented)manifest
- (undocumented)