public interface JmxManagement
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Performs cleanup when object goes out of scope
|
String |
getJmxDomain()
Returns configured Jmx Domain
|
MBeanServer |
getMBeanServer()
Returns instance of an MBeanServer
|
void |
initialize(Map anInitMap)
Initializes instnace of this interface using provided properties
|
void |
registerMBean(Object anMBean,
ObjectName anMBeanName)
Registers given MBean with MBeanServer
|
void |
setJmxDomain(String aJmxDomain)
Sets the Jmx Domain
|
void |
unregisterMBean(ObjectName anMBeanName)
Removed an MBean from the MBeanServer registry
|
void initialize(Map anInitMap) throws Exception
anInitMap
- - properties required during initializationException
MBeanServer getMBeanServer()
String getJmxDomain()
void setJmxDomain(String aJmxDomain)
aJmxDomain
- void registerMBean(Object anMBean, ObjectName anMBeanName) throws Exception
anMBean
- - instance of MBean to registeranMBeanName
- - name of the MBeanException
void unregisterMBean(ObjectName anMBeanName)
anMBeanName
- Copyright © 2017. All rights reserved.