Package org.apache.uima.internal.util
Class JmxMBeanAgent
java.lang.Object
org.apache.uima.internal.util.JmxMBeanAgent
Utility class for registering MBeans with a JMX MBeanServer. This allows AnalysisEngine
 performance stats to be monitored through JMX, for example.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic voidregisterMBean(ManagementObject aMBean, Object aMBeanServerO) Register an MBean with the MBeanServer.static voidunregisterMBean(ManagementObject aMBean, Object aMBeanServerO) Unregister an MBean from the MBeanServer.
- 
Constructor Details- 
JmxMBeanAgentpublic JmxMBeanAgent()
 
- 
- 
Method Details- 
registerMBeanRegister an MBean with the MBeanServer.- Parameters:
- aMBean- the MBean to register
- aMBeanServerO- 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.
 
- 
unregisterMBeanUnregister an MBean from the MBeanServer.- Parameters:
- aMBean- the MBean to register
- aMBeanServerO- 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.
 
 
-