]
Ales Justin resolved JBDEPLOY-181.
----------------------------------
Resolution: Done
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
Affects Versions: JBDEPLOY-2.0.5.GA
Reporter: Anil Saldhana
Assignee: Ales Justin
Fix For: JBDEPLOY-2.2.0.Alpha
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: