public interface IJMXEnabled
This interface is marking that class supports JMX somehow and can be added to the agent who will call this method whenever this method is called on the whole agent.
Modifier and Type | Method and Description |
---|---|
void |
enableJMX(MBeanServer mBeanServer,
ObjectName parent)
Method for starting the JMX extension of the class.
|
void enableJMX(MBeanServer mBeanServer, ObjectName parent) throws JMXAlreadyEnabledException, CantStartJMXException
Object should register whatever objects it wants to expose via JMX.
mBeanServer
- server where the MBean of agent is registeredparent
- parent's ObjectName, should be used as base of name of
the registered MBeanJMXAlreadyEnabledException
CantStartJMXException
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.