Class SerializationManager
java.lang.Object
com.pnfsoftware.jeb.util.serialization.SerializationManager
This object provides serializer and deserializers optimized for a collection of specific types.
It implements the
PNF-ORPD
mechanism and specifications.
Currently, third-party code should not used the serializer - i.e., units produced by third-party
plugins should be transient until the PNF-ORPD implementation is complete. If you choose to
persist third-party units, make sure to read some limitations explained
there
.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final String
"PNF Software Obfuscation-Resilient Persisted Data" -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Register an additional classloader for deserialization.getSerializer
(OutputStream out, boolean generateStringPool)
-
Field Details
-
MAGIC
"PNF Software Obfuscation-Resilient Persisted Data"- See Also:
-
FLAG_HAS_STRINGPOOL
public static final int FLAG_HAS_STRINGPOOL- See Also:
-
-
Constructor Details
-
SerializationManager
-
-
Method Details
-
addClassloader
Register an additional classloader for deserialization. The additional classloaders take precedence over the system classloader, which is used if all else failed.Calling this method is useless if the manager is to be used for serialization only.
- Parameters:
cl
- a classloader
-
getTypeIdProvider
-
getSerializer
-
getSerializer
-
getSerializer_v4
-
getDeserializer
-