|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.cluster.daemon.mbean.MBeanServerHelper
public final class MBeanServerHelper
Allow to start an MBean server and get an MBeanServer.
Method Summary | |
---|---|
protected static String |
getIdMbeanServer()
|
static MBeanServer |
getMBeanServer()
Gets first available MBean Server. |
static void |
startMBeanServer(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 MBeanServer getMBeanServer() throws JMXRemoteException
JMXRemoteException
- if no server is availablepublic static void startMBeanServer(String domainName) throws MBeanServerException
MBeanServerException
- if MBeanServer can't be startedprotected static String getIdMbeanServer()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |