Configurable EventHandler for JAXBDeployer
------------------------------------------
Key: JBDEPLOY-181
URL:
https://jira.jboss.org/jira/browse/JBDEPLOY-181
Project: JBoss Deployers
Issue Type: Sub-task
Components: deployer
Reporter: Anil Saldhana
Assignee: Ales Justin
JAXB Unmarshalling can be a b$tch.
A simple way to get validation errors during unmarshalling is by setting a custom event
handler to the unmarshaller.
===========================================
Set the event handler on the unmarshaller which will print out the errors to System.out as
follows:
um.setEventHandler(new javax.xml.bind.helpers.DefaultValidationEventHandler());
===========================================
So a configurable injection of an Event Handler bean.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira