|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.cmi.MBeanUtils
This class is used to manage mbean registration. All MBean stuff should go here, all imports on javax.management are in this class. So if cmi is not initialized with MBeanServer, JMX jars are not required at runtime.
Method Summary | |
static javax.management.MBeanServer |
getMBeanServer()
Get the MBean server |
protected static void |
initMBeanServer()
Init MBeanServer |
static void |
setMBeanParameters(java.lang.String domainName,
java.lang.String serverName)
Set the MBean parameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
protected static void initMBeanServer() throws ServerConfigException
ServerConfigException
- if the registration failedpublic static void setMBeanParameters(java.lang.String domainName, java.lang.String serverName)
domainName
- the name of the JOnAS domainserverName
- the name of the server for creating mbeanspublic static javax.management.MBeanServer getMBeanServer() throws ServerConfigException
ServerConfigException
- if an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |