|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.util.mbean.MBeanUtils
public class 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)
Init MBeanServer |
static void |
registerProtocolConfigurationMBean(ProtocolConfigurationImplMBean protocolConfiguration,
org.apache.commons.logging.Log logger,
java.lang.String domainName,
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) throws ConfigurationException
logger
- the logger to use to log messages
ConfigurationException
- if the registration failedpublic static void registerProtocolConfigurationMBean(ProtocolConfigurationImplMBean protocolConfiguration, org.apache.commons.logging.Log logger, java.lang.String domainName, java.lang.String serverName) throws ConfigurationException
protocolConfiguration
- the configuration to registerlogger
- the logger to use to log messagesdomainName
- the name of the JOnAS domainserverName
- 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 |