[jboss-user] [Management, JMX/JBoss] - code sample for implementing MBean JMX Management start / st

rv402001 do-not-reply at jboss.com
Fri May 9 15:47:07 EDT 2008


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149860#4149860

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149860



More information about the jboss-user mailing list