Farrukh Najmi wrote:
> Marc Hadley wrote:
>> I think if you inject an instance of Providers then you should be
>> able to use the getMessageBodyReader method to get a reader that will
>> unmarshall your JSON string.
>>
>
> Thanks Marc. Can you tell me how to "inject an instance of Providers".
> I have a JAXBContextResolver class that implements
> ContextResolver<JAXBContext>. I do not know though how I can get an
> instance of that class injected in my class.
>
OK. I RTFMed of the jsr 311 spec.
I can get Providers injected via @Context annotation within my class.
Thanks.
--
Regards,
Farrukh
Web: http://www.wellfleetsoftware.com