Interface JmxManagement

All Known Implementing Classes:
JmxManager

public interface JmxManagement
Jmx Management interface for registering and unregistering MBeans.
  • Method Details

    • initialize

      void initialize(Map anInitMap) throws Exception
      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

      void setJmxDomain(String aJmxDomain)
      Sets the Jmx Domain
      Parameters:
      aJmxDomain -
    • registerMBean

      void registerMBean(Object anMBean, ObjectName anMBeanName) throws Exception
      Registers given MBean with MBeanServer
      Parameters:
      anMBean - - instance of MBean to register
      anMBeanName - - name of the MBean
      Throws:
      Exception
    • unregisterMBean

      void unregisterMBean(ObjectName anMBeanName)
      Removed an MBean from the MBeanServer registry
      Parameters:
      anMBeanName -
    • destroy

      void destroy() throws Exception
      Performs cleanup when object goes out of scope
      Throws:
      Exception