Custom unmarshal callback interface mimicking JAXB class based unmarshal callbacks
Some JAXB implementations (e.g. EclipseLink MOXy 2.2) are broken and class defined marshal/unmarshal callbacks are not invoked.
This is a workaround to avoid problems in some application server which switched from Sun RI to MOXy.
To avoid name clashes beforeUnmarshal equivalent is called preUnmarshal and afterUnmarshal is called postUnmarshal
Callback method invoked after unmarshalling XML data into target.
This method is invoked after all the properties (except IDREF) are unmarshalled into target,
but before target is set into its parent object.
parent - instance of JAXB mapped class that will reference target.
null when target is root element.