Hi Stephan-

Thanks for taking a look at this.

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.)

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?

Thanks again,

  - Dave Fogel

On Mon, Mar 23, 2009 at 4:37 AM, Stephan Koops <[email protected]> wrote:
> Hi David,
>
> I've had no time to look into my own code or work with it, so I forget,
> that the injection was changed.
> Use a field (or parameter) of type javax.ws.rs.ext.Providers, annotate
> it with @Context and use method getContextResolver(...) .
>
> I hope, that's the right solution. As said, I've long time no time to
> keep me busy with Restlet and JAX-RS. Sorry for the wrong information first.
>
> best regards
>   Stephan

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

Reply via email to