RE: Detect shutdown when in common/global classpath?

2015-12-02 Thread jimi.hullegard
Mark wrote: > On 30/11/2015 15:51, jimi.hulleg...@svensktnaringsliv.se wrote: > > Hi, > > > > When running code in a webapp, I know it is possible to detect an undeploy > > of the webapp, or shutdown of Tomcat, using a ServletContextListener. But > > how about code running outside the webapp? >

Re: Detect shutdown when in common/global classpath?

2015-11-30 Thread Mark Thomas
On 30/11/2015 15:51, jimi.hulleg...@svensktnaringsliv.se wrote: > Hi, > > When running code in a webapp, I know it is possible to detect an undeploy of > the webapp, or shutdown of Tomcat, using a ServletContextListener. But how > about code running outside the webapp? > > The background for