|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axonframework.monitoring.jmx.JmxConfiguration
public final class JmxConfiguration
Utility class that allows Axon-related components to be configured with an MBeanServer. By default all MBeans are registered with the platform MBean Server using a standard ObjectName.
| Method Summary | |
|---|---|
void |
disableMonitoring()
Disables monitoring. |
static JmxConfiguration |
getInstance()
Returns the singleton instance of JmxConfiguration. |
void |
registerMBean(Object mBean,
Class<?> monitoredType)
Attempts to register the given mBean as an MBean with the default MBeanServer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static JmxConfiguration getInstance()
public void registerMBean(Object mBean,
Class<?> monitoredType)
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 compliant.
Otherwise, registration fails silently.monitoredType - The type of object that the MBean represents. This type is used to construct the ObjectName
of the MBean.public void disableMonitoring()
registerMBean(Object, Class) will be ignored.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||