If (D) is desirable, we can use Providers interface to get at the
ContextResolver.
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
http://bill.burkecentral.com