com.pnfsoftware.jeb.util.serialization.annotations.SerCustomInitPostGraph |
The annotated method will be called after a full object graph has been deserialized, and the deferred initialization of maps and collections was complete.
private void postInit()
Note that the visibility MUST be private to make sure that sub-classes do not accidentally override a custom initializer method of a super-class.
If a deserialized object contains maps or collections that need to be accessed in order to
customize/finalize the deserialization of that object, then it should be done in a method
annotated with SerCustomInitPostGraph
.
Limitation: Unlike in-line deserializer initializers such as SerCustomRead
or
SerCustomInit
, methods annotated with SerCustomInitPostGraph
are called in any
order, regardless of object hierarchies.
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |