[jboss-user] [JBoss Web Services Users] - Re: avoid lazy-initialization exceptions
do-not-reply at jboss.com
Tue Sep 29 13:37:25 EDT 2009
You can provide your own JAXBContextFactory, take a look at org.jboss.ws.core.jaxws.CustomizableJAXBContextFactory for instance. This way you can setup the property you need in the context at creation.
Then make sure your context factory is loaded by the JBossWS ServiceLoader (basically you might want to either set your factory through a System property or add a org.jboss.ws.core.jaxws.JAXBContextFactory file in META-INF/services somewhere in the classpath).
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257711#4257711
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257711
More information about the jboss-user