public abstract class MonitorRegistry extends Object
| Constructor and Description |
|---|
MonitorRegistry() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
registerBean(Object monitoringBean,
Class<?> componentType)
Registers the bean with the Registry.
|
static void |
registerMonitoringBean(Object monitoringBean,
Class<?> componentType)
Register the given
monitoringBean with the registries on the classpath. |
public static void registerMonitoringBean(Object monitoringBean, Class<?> componentType)
monitoringBean with the registries on the classpath. If an exception or error
occurs while registering the monitoringBean, it is ignored.monitoringBean - The bean containing the monitoring informationcomponentType - The type of component that the monitoring bean provides information forprotected abstract void registerBean(Object monitoringBean, Class<?> componentType)
monitoringBean - The bean to registercomponentType - The type of component that the monitoring bean provides information forCopyright © 2010-2014. All Rights Reserved.