public final class JmxMonitorRegistry extends MonitorRegistry
| Constructor and Description |
|---|
JmxMonitorRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
registerBean(Object mBean,
Class<?> componentType)
Attempts to register the given
mBean as an MBean with the default MBeanServer. |
registerMonitoringBeanpublic void registerBean(Object mBean, Class<?> componentType)
mBean as an MBean with the default MBeanServer. If registration
fails, no exceptions are thrown. Instead, failure is logged and silently accepted.registerBean in class MonitorRegistrymBean - The instance to register as MBean. Note that this instance needs to be MBean compliant.
Otherwise, registration fails silently.componentType - The type of component that the monitoring bean provides information forCopyright © 2010-2014. All Rights Reserved.