Hopefully a simple question. I was wondering if there was some way for code running in JBoss to find out when JBoss was shutting down - a callback or some such thing?
TIA,
Ian.
Ian,
Deploy your own MBean; when an instance of JBoss is shutting down - you will get a callback into stopService() of your MBean at that time. Works well.
Hope that helps,
Alex Zhanov