object JavaSerializer

Source
Serializer.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaSerializer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class CurrentSystem extends DynamicVariable[ExtendedActorSystem]

Value Members

  1. val currentSystem: CurrentSystem

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

    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)