Thank you.
Although the @Context Providers solution does work, I have chosen the CDI
path to comply more to EE programming model.
Regards,
Duncan
On Thu, Aug 30, 2012 at 4:58 PM, Bill Burke wrote:
> Its sort of a bug.
>
> ContextResolver wasn't supposed to be used in the way your example was
>
Its sort of a bug.
ContextResolver wasn't supposed to be used in the way your example was
written, it really was supposed to be used in conjunction with the
Providers interface:
@Context
protected Providers providers;
public JAXBContext findProvidedJAXBContext(Class type, MediaTyp
Hi,
I have made a very simple pure JAX-RS demo application.
You can find it here: https://github.com/dabloem/jaxrs
When deployed to JBoss As 7.1.0, the application does not inject MyResolver
into field @Context ContextResolver within GenericResource. It is
always null.
When deployed to GF3.1.2,