0 Replies Latest reply on May 9, 2008 3:47 PM by rv402001

    code sample for implementing MBean JMX Management start / st

    rv402001

      I need to implement start / stop functionality accessible from JMX console that will start or stop my MBean service. When stop is invoked from jmx console, what code do i need in my implementation of the management interface that will make the MBean service inaccessible to client applications? The only way i know at present to stop an MBean service is to shutdown jboss, and to start the MBean back up, to restart JBoss. What code i need in my start( ) and stop( ) methods that will register or unregister the specifc MBean from the MBean server? Pl. point me to documentation and FAQs.

      -- rv