Package org.apache.uima.aae.jmx
Interface JmxManagement
- All Known Implementing Classes:
JmxManager
public interface JmxManagement
Jmx Management interface for registering and unregistering MBeans.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddestroy()Performs cleanup when object goes out of scopeReturns configured Jmx DomainReturns instance of an MBeanServervoidinitialize(Map anInitMap) Initializes instnace of this interface using provided propertiesvoidregisterMBean(Object anMBean, ObjectName anMBeanName) Registers given MBean with MBeanServervoidsetJmxDomain(String aJmxDomain) Sets the Jmx DomainvoidunregisterMBean(ObjectName anMBeanName) Removed an MBean from the MBeanServer registry
-
Method Details
-
initialize
Initializes instnace of this interface using provided properties- Parameters:
anInitMap- - properties required during initialization- Throws:
Exception
-
getMBeanServer
MBeanServer getMBeanServer()Returns instance of an MBeanServer- Returns:
-
getJmxDomain
String getJmxDomain()Returns configured Jmx Domain- Returns:
-
setJmxDomain
Sets the Jmx Domain- Parameters:
aJmxDomain-
-
registerMBean
Registers given MBean with MBeanServer- Parameters:
anMBean- - instance of MBean to registeranMBeanName- - name of the MBean- Throws:
Exception
-
unregisterMBean
Removed an MBean from the MBeanServer registry- Parameters:
anMBeanName-
-
destroy
Performs cleanup when object goes out of scope- Throws:
Exception
-