You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Bill Barker <wb...@wilshire.com> on 2007/03/01 04:31:50 UTC

Re: Valve post lifecycle event

"Ravi116" <ra...@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