incorporate Viktor’s review
This commit is contained in:
parent
2ce47d6bb5
commit
b193bcee04
9 changed files with 107 additions and 138 deletions
|
|
@ -110,4 +110,15 @@ which is done by extending ``akka.serialization.JSerializer``, like this:
|
|||
:exclude: ...
|
||||
|
||||
Then you only need to fill in the blanks, bind it to a name in your :ref:`configuration` and then
|
||||
list which classes that should be serialized using it.
|
||||
list which classes that should be serialized using it.
|
||||
|
||||
A Word About Java Serialization
|
||||
===============================
|
||||
|
||||
When using Java serialization without employing the :class:`JavaSerializer` for
|
||||
the task, you must make sure to supply a valid :class:`ExtendedActorSystem` in
|
||||
the dynamic variable ``JavaSerializer.currentSystem``. This is used when
|
||||
reading in the representation of an :class:`ActorRef` for turning the string
|
||||
representation into a real reference. :class:`DynamicVariable` is a
|
||||
thread-local variable, so be sure to have it set while deserializing anything
|
||||
which might contain actor references.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue