Class JavaSerializer$

  • public class JavaSerializer$
    extends java.lang.Object
    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... }


    JavaSerializer.currentSystem.withValue(system, callable)

    • Field Detail

      • MODULE$

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

      • JavaSerializer$

        public JavaSerializer$()