public class MBeanRegistrar extends Object
MBeanRegistrar which registers the specified MBean with the
MBeanManager.mBean as an MBean with the
default MBeanServer. If registration fails, no exceptions are thrown.
Instead, failure is logged and silently accepted.| Constructor and Description |
|---|
MBeanRegistrar(List<MBean> mBeans)
Instantiates a new mbean registrar.
Attempts to register the given mBeans as an MBean with the
default MBeanServer. |
MBeanRegistrar(MBean mBean)
Instantiates a new m bean registrar.
Attempts to register the given mBean as an MBean with the
default MBeanServer. |
public MBeanRegistrar(MBean mBean)
mBean as an MBean with the
default MBeanServer. If registration fails, no exceptions are thrown.
Instead, failure is logged and silently accepted.mBean - The instance to register as MBean. Note that this instance
needs to be MBean complaint. Otherwise, registration fails
silently.public MBeanRegistrar(List<MBean> mBeans)
mBeans as an MBean with the
default MBeanServer. If registration fails, no exceptions are thrown.
Instead, failure is logged and silently accepted.mBeans - the m beansCopyright © 2016 utils4j. All Rights Reserved.