Interface MBeanRegistrator


  • public interface MBeanRegistrator
    Registers the MBean.
    Author:
    Daniel Sagenschneider
    • Method Detail

      • registerMBean

        void registerMBean​(javax.management.ObjectName name,
                           java.lang.Object mbean)
                    throws javax.management.InstanceAlreadyExistsException,
                           javax.management.MBeanRegistrationException,
                           javax.management.NotCompliantMBeanException
        Registers an MBean.
        Parameters:
        name - Name of the MBean.
        mbean - MBean.
        Throws:
        javax.management.InstanceAlreadyExistsException - If MBean already registered by name.
        javax.management.MBeanRegistrationException - If fails to register the MBean.
        javax.management.NotCompliantMBeanException - If MBean is not compliant.