As I understand it's called when app is undeployed or servlet container
(Tomcat, Jetty,...)
is going down. And it should be very long time after app is started.


> -----Original Message-----
> From: Martin Grigorov [mailto:mgrigo...@apache.org] 
> Sent: Tuesday, 26. July 2011 08:21
> To: users@wicket.apache.org
> Subject: Re: How to Catch WebApplication's Destroy()?
> 
> org.apache.wicket.Application.onDestroy()
> 
> On Tue, Jul 26, 2011 at 4:34 AM, eugenebalt 
> <eugeneb...@yahoo.com> wrote:
> > To clarify, this is not per-request, it should be per-application.
> >
> > I have a static Connection object in my WebApplication, and 
> it's used 
> > for all transactions in the app. I construct it initially in the 
> > init(), and was just wondering where to close the 
> Connection at the end of the app.
> >
> > --
> > View this message in context: 
> > 
> http://apache-wicket.1842946.n4.nabble.com/How-to-Catch-WebApplication
> > -s-Destroy-tp3694556p3694614.html Sent from the Users forum mailing 
> > list archive at Nabble.com.
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
> 
> 
> 
> --
> Martin Grigorov
> jWeekend
> Training, Consulting, Development
> http://jWeekend.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to