Package akka.serialization
Class JavaSerializer$
- java.lang.Object
 - 
- akka.serialization.JavaSerializer$
 
 
- 
public class JavaSerializer$ extends java.lang.Object 
- 
- 
Field Summary
Fields Modifier and Type Field Description static JavaSerializer$MODULE$Static reference to the singleton instance of this Scala object. 
- 
Constructor Summary
Constructors Constructor Description JavaSerializer$() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JavaSerializer.CurrentSystemcurrentSystem()This holds a reference to the current ActorSystem (the surrounding context) during serialization and deserialization. 
 - 
 
- 
- 
Field Detail
- 
MODULE$
public static final JavaSerializer$ MODULE$
Static reference to the singleton instance of this Scala object. 
 - 
 
- 
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:
JavaSerializer.currentSystem.withValue(system) { ...code... }
or
JavaSerializer.currentSystem.withValue(system, callable)
 
 - 
 
 -