|
From: Joe L. <joe...@gm...> - 2010-11-01 10:46:22
|
Hi, I have created a MessageBodyReader/MessageBodyWriter that needs to read a configuration value. Ideally I'd like this to be held in the web.xml as a context-param. Is there any way that a RESTEasy provider can access context params? Is there any type that I can inject using @Context that will allow me to get context-param values? I haven't been able to find one. Alternatively, is there a better way to provide configuration values to a provider? I'd like to avoid having to use a system property. Cheers, Joe |