tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Romain Manni-Bucau <rmannibu...@gmail.com>
Subject Re: Can you inject a JAXBContext?
Date Wed, 09 May 2012 08:17:23 GMT
That's more a cxf question but typically that's done by reflection using
return method types for instance.

- Romain
Le 9 mai 2012 00:49, "Anthony Fryer" <apfryer@hotmail.com> a écrit :

> I was asking because creating a JAXBContext requires me to specify the
> ObjectFactory classes to the newInstance method.  I assume jax-ws must
> somehow create its own JAXBContext and work out which classes it needs to
> pass to the newInstance method.  I'm just guessing here and was hoping you
> guys might be able to explain how jax-ws does it.  I'd like to be able to
> create a JAXBContext that can handle all jaxb annotated classes in the
> application without manually specifying the classes to the newInstance
> method.  Is this possible?
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Can-you-inject-a-JAXBContext-tp4617247p4618934.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message