I am looking to be able to add behaviors to some of my JAXB generated
classes. The JAXB documentation seems to suggest that I need to set a
property on the (un)marshaller class
(i.e.
Unmarshaller u = context.createUnmarshaller();
u.setProperty("com.sun.xml.bind.ObjectFactory",new ObjectFactoryEx());
PersonEx p = (PersonEx)u.unmarshal(new StringReader("<person />"));
)
Is it possible to get access to the (un)marshaller classes in the course of
CXF web service call so that I can set properties? If so, could you provide
a quick example of the method call(s)?
Thanks!
--
View this message in context:
http://www.nabble.com/Setting-%28un%29marshaller-options-for-JAXB-using-CXF--tp23300347p23300347.html
Sent from the cxf-user mailing list archive at Nabble.com.