Class AbstractMBean


  • public abstract class AbstractMBean
    extends Object
    Abstract class that encapsulates the registration of an MBean with the MBeanServer. Exceptions that occur are swallowed and logged.

    This class is not thread-safe.

    • Constructor Detail

    • Method Detail

      • register

        public void register()
        Register this instance at the platform MBeanServer. Swallows all checked exceptions that might occur and logs them.
      • unregister

        public void unregister()
        Unregister this instance. May be called even if registration was not successful (does nothing in this case).