|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.jmx.commons.MBeanServerHelper
public final class MBeanServerHelper
Allow to start an MBean server and get an MBeanServer.
Method Summary | |
---|---|
protected static java.lang.String |
getIdMbeanServer()
|
static javax.management.MBeanServer |
getMBeanServer()
Gets first available MBean Server. |
static void |
startMBeanServer(java.lang.String domainName)
Starts an MBeanServer if no MBeanServer is available. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static javax.management.MBeanServer getMBeanServer() throws JMXRemoteException
JMXRemoteException
- if no server is availablepublic static void startMBeanServer(java.lang.String domainName) throws MBeanServerException
MBeanServerException
- if MBeanServer can't be startedprotected static java.lang.String getIdMbeanServer()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |