|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.internal.util.JmxMBeanAgent
public class JmxMBeanAgent
Utility class for registering MBeans with a JMX MBeanServer. This allows AnalysisEngine performance stats to be monitored through JMX, for example.
| Constructor Summary | |
|---|---|
JmxMBeanAgent()
|
|
| Method Summary | |
|---|---|
static void |
registerMBean(ManagementObject aMBean,
java.lang.Object aMBeanServer)
Register an MBean with the MBeanServer. |
static void |
unregisterMBean(ManagementObject aMBean,
java.lang.Object aMBeanServer)
Unregister an MBean from the MBeanServer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JmxMBeanAgent()
| Method Detail |
|---|
public static void registerMBean(ManagementObject aMBean,
java.lang.Object aMBeanServer)
aMBean - the MBean to registeraMBeanServer - server to register with. If null, the platform MBeanServer will be used if we are
running under Java 1.5. Earlier versions of Java did not have a platform MBeanServer;
in that case, this method will do nothing.
public static void unregisterMBean(ManagementObject aMBean,
java.lang.Object aMBeanServer)
aMBean - the MBean to registeraMBeanServer - server to unregister from. If null, the platform MBeanServer will be used if we are
running under Java 1.5. Earlier versions of Java did not have a platform MBeanServer;
in that case, this method will do nothing.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||