public class JavaSerializer$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static JavaSerializer$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
JavaSerializer$() |
Modifier and Type | Method and Description |
---|---|
JavaSerializer.CurrentSystem |
currentSystem()
This holds a reference to the current ActorSystem (the surrounding context)
during serialization and deserialization.
|
public static final JavaSerializer$ MODULE$
public JavaSerializer.CurrentSystem currentSystem()
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)