|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.carol.util.mbean.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 carol is not initialized with MBeanServer, JMX jars are not required at runtime.
| Method Summary | |
protected static void |
initMBeanServer(org.apache.commons.logging.Log logger,
java.lang.String idMbeanServer)
Init MBeanServer |
static void |
registerProtocolConfigurationMBean(ProtocolConfigurationImplMBean protocolConfiguration,
org.apache.commons.logging.Log logger,
java.lang.String idMbeanServer,
java.lang.String serverName)
Register a ProtocolConfiguration object in MBeanServer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
protected static void initMBeanServer(org.apache.commons.logging.Log logger,
java.lang.String idMbeanServer)
throws ConfigurationException
logger - the logger to use to log messagesidMbeanServer - the MBeanServer ID
ConfigurationException - if the registration failed
public static void registerProtocolConfigurationMBean(ProtocolConfigurationImplMBean protocolConfiguration,
org.apache.commons.logging.Log logger,
java.lang.String idMbeanServer,
java.lang.String serverName)
throws ConfigurationException
protocolConfiguration - the configuration to registerlogger - the logger to use to log messagesidMbeanServer - the MBeanServer IDserverName - the name of the server (for ObjectName)
ConfigurationException - if the registration failed
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||