Hi David,
> Yes, I did see that it would be possible to get the Providers object
> injected into my resource classes.  However I don't think that is the
> recommended way to accomplish this with Jax-Rs.  (from what I
> remember, I think the Providers object is often meant to be injected
> into other Provider classes that need to make use of pre-existing
> Providers, but I'm not sure.)
>   
If I remeber right (!), first the way was to annotate the 
javax.ws.rs.ext.ContextResolver with @Context, but than we changed it to 
the current way to use javax.ws.rs.ext.Provider. The reasons are not in 
my mind now; you have to look in the mailing list archive 
(https://jsr311.dev.java.net/servlets/ProjectMailingListList, look into 
mailing lists dev and users).
This change is the reason for the explicit hint in the code.
> Is there any plan or timeframe for continuing development of the
> Restlet JAX-RS implementation?  Would it make sense for me to put some
> time contributing some patches to this implementation?
Yes, nice ! But unfortunatley I have not much time, because I'm very 
busy at work this months. I hope, I will have time in the next weeks.

best regards
    Stephan

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1391575

Reply via email to