cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <>
Subject Re: Life-cycle events for services hosted by CXFServlet
Date Mon, 20 Oct 2008 13:19:32 GMT

You can probably just subclass CXFServlet--it has the standard HttpServlet's
destroy() and Spring's onApplicationEvent() methods that can be of use for


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:
Sent from the cxf-user mailing list archive at

View raw message