Package org.apache.uima.aae.jmx
Interface JmxManagement
-
- All Known Implementing Classes:
JmxManager
public interface JmxManagementJmx Management interface for registering and unregistering MBeans.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddestroy()Performs cleanup when object goes out of scopejava.lang.StringgetJmxDomain()Returns configured Jmx Domainjavax.management.MBeanServergetMBeanServer()Returns instance of an MBeanServervoidinitialize(java.util.Map anInitMap)Initializes instnace of this interface using provided propertiesvoidregisterMBean(java.lang.Object anMBean, javax.management.ObjectName anMBeanName)Registers given MBean with MBeanServervoidsetJmxDomain(java.lang.String aJmxDomain)Sets the Jmx DomainvoidunregisterMBean(javax.management.ObjectName anMBeanName)Removed an MBean from the MBeanServer registry
-
-
-
Method Detail
-
initialize
void initialize(java.util.Map anInitMap) throws java.lang.ExceptionInitializes instnace of this interface using provided properties- Parameters:
anInitMap- - properties required during initialization- Throws:
java.lang.Exception
-
getMBeanServer
javax.management.MBeanServer getMBeanServer()
Returns instance of an MBeanServer- Returns:
-
getJmxDomain
java.lang.String getJmxDomain()
Returns configured Jmx Domain- Returns:
-
setJmxDomain
void setJmxDomain(java.lang.String aJmxDomain)
Sets the Jmx Domain- Parameters:
aJmxDomain-
-
registerMBean
void registerMBean(java.lang.Object anMBean, javax.management.ObjectName anMBeanName) throws java.lang.ExceptionRegisters given MBean with MBeanServer- Parameters:
anMBean- - instance of MBean to registeranMBeanName- - name of the MBean- Throws:
java.lang.Exception
-
unregisterMBean
void unregisterMBean(javax.management.ObjectName anMBeanName)
Removed an MBean from the MBeanServer registry- Parameters:
anMBeanName-
-
destroy
void destroy() throws java.lang.ExceptionPerforms cleanup when object goes out of scope- Throws:
java.lang.Exception
-
-