You can probably just subclass CXFServlet--it has the standard HttpServlet's destroy() and Spring's onApplicationEvent() methods that can be of use for you:
http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/CXFServlet.java?revision=701830&view=markup HTH, Glen huntc wrote: > > Hi there, > > I was wondering if any life-cycle events are available/applicable to a CXF > service hosted by the CXFServlet? > > My service allocates some resources and I was thinking that it would be > tidy to explicitly release those resources if the service was somehow > stopped. > > Is it possible for a service to become stopped once started? If so then > how would I go about intercepting such events? > > Kind regards, > Christopher > -- View this message in context: http://www.nabble.com/Life-cycle-events-for-services-hosted-by-CXFServlet-tp20055641p20067489.html Sent from the cxf-user mailing list archive at Nabble.com.
