Hi,
In Jersey 1.x, one could inject ResourceConfig in Application objects
and then read its properties to obtain information from initParams of
web.xml. In Jersey 2.0, it doesn't seem to inject ResourceConfig,
ServletConfig or WebConfing in Application classes.
What would be the way to access initParams specified in the web.xml?
Specifically, I've written a generic Application class that obtains the
names of Resource classes from an init parameter. This allows me finer
control over which Resource classes are hosted than what is possible
with scanning.
Thank you,
Thiru