Thanks Jakub. I'll try that.
Another question that may be related. I would also like to configure Jersey
filters (that implements ContainerRequestFilter). Is there any specific
ResourceConfig implementation class that I should be using for configuring
filters?
For an example, I have something like this (In servlet web.xml). I like to
configure this in ResourceConfig so that I can inject using @Context
ResourceConfig _context in my Jersey filter.
<filter>
<filter-name>HelloWorldFilter</filter-name>
<filter-class>yjava.ws.examples.helloworld.HelloWorldFilter</filter-class>
<init-param>
<param-name>helloworldfilter.disabled</param-name>
<param-value>false</param-value>
</init-param>
<init-param>
<param-name>format.allow</param-name>
<param-value>foo,bar</param-value>
</init-param>
</filter>
--
View this message in context: http://jersey.576304.n2.nabble.com/How-to-configure-custom-providers-resources-using-ResourceConfig-tp6635080p6641825.html
Sent from the Jersey mailing list archive at Nabble.com.