4 Replies Latest reply on Apr 2, 2002 7:38 AM by Adrian Brock

    JBoss3.0 Shutdown order of MBeans

    Vad Newbie


      I deploy some MBean and my code creates, registers
      and unregisters some other MBeans. I would like to perform some destroy operations on shutdown, which requires some services (JMS and other rars of my own).

      1. How my MBean can be aware of a shutdown? (It does not extends ServiceMBean, I'd like to have no compile time dependencies on JBoss). Maybe by listening unregistering events from the server?

      2. How to be the first to be stopped?

      Thanks in advance for any advice.