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 TypeMethodDescriptionvoid
destroy()
Performs cleanup when object goes out of scopeReturns configured Jmx DomainReturns instance of an MBeanServervoid
initialize
(Map anInitMap) Initializes instnace of this interface using provided propertiesvoid
registerMBean
(Object anMBean, ObjectName anMBeanName) Registers given MBean with MBeanServervoid
setJmxDomain
(String aJmxDomain) Sets the Jmx Domainvoid
unregisterMBean
(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
-