tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: Valve post lifecycle event
Date Thu, 01 Mar 2007 03:31:50 GMT

"Ravi116" <ravi.varanasi@countrywide.com> wrote in message 
news:9208545.post@talk.nabble.com...
>
> I wish to cleanup resources inside a valve on server shutdown (stop a
> scheduler). Is there anyway to do this ?

If all you want to do is cleanup, then a LifecycleListener is better than a 
Valve (which is for request processing).  If you really want a Valve, then 
just have it implement Lifecycle as well.

> Ravi
> -- 
> View this message in context: 
> http://www.nabble.com/Valve--post-lifecycle-event-tf3310448.html#a9208545
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> 




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message