I am using JAXB to unmarshall an XML file into a Java object -- standard stuff. Once JAXB has completed this, I\'d like a method to be called on the newly created object.
To be able to execute code after unmarshalling took place, you need an Unmarshaller-Listener
However, I'm not sure, if the listener is invoked after the properties are set or before.
NOTE: The listener is available since JAXB-2.0 (JDK-6)