[jboss-jira] [JBoss JIRA] Updated: (JBDEPLOY-181) Configurable EventHandler for JAXBDeployer

Ales Justin (JIRA) jira-events at lists.jboss.org
Wed Mar 18 19:12:23 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBDEPLOY-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ales Justin updated JBDEPLOY-181:
---------------------------------

        Fix Version/s: JBDEPLOY-2.2.0.Alpha
    Affects Version/s: JBDEPLOY-2.0.5.GA


> 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list