Class AbstractMBean

java.lang.Object
org.sosy_lab.common.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 Details

  • Method Details

    • handleRuntimeErrorException

      protected RuntimeErrorException handleRuntimeErrorException(RuntimeErrorException e)
    • 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).