public class MBeanServerManagerFactory
extends java.lang.Object
Constructor and Description |
---|
MBeanServerManagerFactory() |
Modifier and Type | Method and Description |
---|---|
static MBeanServerManager |
newInstance(javax.management.MBeanServer mBeanServer,
java.lang.String mBeanKeyPrefix,
java.util.logging.Logger logger)
Creates a new MBeanServerManager with which to register
JMXBean annotated objects. |
public static MBeanServerManager newInstance(javax.management.MBeanServer mBeanServer, java.lang.String mBeanKeyPrefix, java.util.logging.Logger logger)
JMXBean
annotated objects.mBeanServer
- MBeanServer instance which will be used internally. If set to null then a null implementation will be returned.mBeanKeyPrefix
- Prefix which will be prepended to each registered JMXBeanKey
with an ending '.'. Setting to null will disable the prefixing.logger
- Logger to be used, should be a Logger
java.lang.IllegalArgumentException
- if logger is null and mBeanServer is not null.Please send bug reports and comments to Caplin support