Arbitrary beans can probably implement http://static.springsource.org/spring/docs/3.0.x/javadoc-api/org/springframework/web/context/ServletContextAware.html
Cheers, Sergey On Wed, May 4, 2011 at 3:37 PM, Benson Margulies <[email protected]> wrote: > This is probably more a spring question than a CXF question, but ... > using org.springframework.web.context.ContextLoaderListener, I'd like > to get a reference to the servlet context in a bean which is not a > service bean of my jax-rs service. Can I just implement > ServletContextListener, or is there some other spring-trick here? >
