-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tushar,

Tushar Madhukar wrote:
| Is there a way by which Tomcat can invoke a callback on these classes
| (shared/*) when it is shutting down? [snip]
| Basically, I would use an equivalent of
| ServletContextListener.contextDestroyed() callback in deployed contexts.

So, you want something that only runs on JVM shutdown? How about
Runtime.addShutdownHook?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkfaj/IACgkQ9CaO5/Lv0PDwqQCfXCMK3g5NWb1Kjr72LUNU/F0w
aJEAoKI73bVu8AHnKCt7CI5nbTPuNHXb
=hJUP
-----END PGP SIGNATURE-----

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

Reply via email to