[jboss-user] [JBoss Web Services Users] - Re: avoid lazy-initialization exceptions
lespoches
do-not-reply at jboss.com
Wed Sep 30 03:53:50 EDT 2009
"alessio.soldano at jboss.com" wrote : 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).
Is there any sample on how to do that ?
Thanks a lot
Jonathan
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4257795#4257795
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4257795
More information about the jboss-user
mailing list