Re: JSR311: Can ContextResolver be injected?

From: Bill Burke <>
Date: Wed, 27 Aug 2008 15:57:03 -0400

If (D) is desirable, we can use Providers interface to get at the

Bill Burke wrote:
> Can ContextResolver be injected into:
> a) Providers
> b) Resources
> c) Both
> d) None
> If injecting into a resource is allowed, you have no way of telling
> JAX-RS which MediaType to match against. For Readers/Writers it is
> possible to figure out which media type to match against.

Bill Burke
JBoss, a division of Red Hat