public interface ComponentSerializationPlan
ComponentSerializationPlan that allows modules to register objects and classes
they wish to let the underlying engine serialize explicitly. Most specifically, this is used by
ticket registry backends such as Kryo that deal with serialized data before passing the object
onto memcached where explicit registration is required. The plan is passed to modules that do
have a need to register classes explicitly, and engines and libraries such as kryo can explicitly
ask the executing plan for all classes that they can handle and register in their own engine.ComponentSerializationPlanConfigurator| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.lang.Class> |
getRegisteredClasses()
Gets registered classes.
|
void |
registerSerializableClass(java.lang.Class clazz)
Register serializable class.
|
void |
registerSerializableClass(java.lang.Class clazz,
java.lang.Integer order)
Register serializable class.
|
void registerSerializableClass(java.lang.Class clazz)
clazz - the clazz to registervoid registerSerializableClass(java.lang.Class clazz,
java.lang.Integer order)
clazz - the clazz to registerorder - the order in which the class will be positioned in the registry of classesjava.util.Collection<java.lang.Class> getRegisteredClasses()