Re: [Resteasy-users] ContextResolver issue

2012-08-30 Thread Duncan Bloem
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 >

Re: [Resteasy-users] ContextResolver issue

2012-08-30 Thread Bill Burke
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

[Resteasy-users] ContextResolver issue

2012-08-30 Thread Duncan Bloem
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,