akka.serialization
Class JavaSerializer$

java.lang.Object
  extended by akka.serialization.JavaSerializer$

public class JavaSerializer$
extends java.lang.Object


Field Summary
static JavaSerializer$ MODULE$
          Static reference to the singleton instance of this Scala object.
 
Constructor Summary
JavaSerializer$()
           
 
Method Summary
 JavaSerializer.CurrentSystem currentSystem()
          This holds a reference to the current ActorSystem (the surrounding context) during serialization and deserialization.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULE$

public static final JavaSerializer$ MODULE$
Static reference to the singleton instance of this Scala object.

Constructor Detail

JavaSerializer$

public JavaSerializer$()
Method Detail

currentSystem

public JavaSerializer.CurrentSystem currentSystem()
This holds a reference to the current ActorSystem (the surrounding context) during serialization and deserialization.

If you are using Serializers yourself, outside of SerializationExtension, you'll need to surround the serialization/deserialization with:

currentSystem.withValue(system) { ...code... }

or

currentSystem.withValue(system, callable)

Returns:
(undocumented)