users@jersey.java.net

Re: [Jersey] MessageBodyWorkers injection

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 22 Jul 2008 12:06:32 +0200

Marc Hadley wrote:
> On Jul 8, 2008, at 10:44 AM, Florian Steffen wrote:
>>
>> I'm developing a composite entity provider, and I need to lookup
>> MessageBodyWriters from there. I tried to inject a MessageBodyWorkers
>> into a field using a @Context annotation, but it doesn't seem to be
>> working. I can inject it in a resource, but not in the provider. Is
>> this normal, or am I doing something wrong?
>>
> That *should* work, it sounds like a bug.
>

I verified that it is working for 0.9 snapshot (relevant unit tests
pass), it should also work for 0.8 but could be a bug that slipped through.

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109