Package org.sosy_lab.common
Class AbstractMBean
java.lang.Object
org.sosy_lab.common.AbstractMBean
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected RuntimeErrorExceptionvoidregister()Register this instance at the platform MBeanServer.voidUnregister this instance.
-
Constructor Details
-
AbstractMBean
-
-
Method Details
-
handleRuntimeErrorException
-
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).
-