|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectakka.serialization.JavaSerializer$
public class JavaSerializer$
| 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 |
|---|
public static final JavaSerializer$ MODULE$
| Constructor Detail |
|---|
public JavaSerializer$()
| Method Detail |
|---|
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)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||