Quick question: I am adding MessageBodyReader and -Writer providers
using META-INF/services instructions.
That works well, gets plugged in and all. So far so good.
But now I am trying to get Providers injected, so that I can look up
piece of configuration provider needs (with defaulting for cases where
no one explicitly gives it).
I was thinking that:
@Context
protected Providers _providers;
with Provider would be found & injected, but it looks as if it wasn't.
Is this supposed to work? Or if not, what would be the right way to
get access to Providers?
-+ Tatu +-