Class Dumper

All Implemented Interfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, NotificationEmitter, BaseObjectNamed, DumperMBean, SelfEmailingMBean

public final class Dumper extends SelfAwareMBean implements DumperMBean, NotificationEmitter
This MBean provides operations to dump text files, stack traces, MBean summary data, etc, to JMX operation results (and thus to a JMX console) or to e-mail.

Supported API: true

Extendable: false
  • Method Details

    • getInstance

      public static Dumper getInstance(StandardMBean mbeanContext, boolean throwExceptionOnNoInstance)
      Return the Dumper associated by MBeanLoader with 'mbeanContext' or the Dumper started and still not stopped within this classloader.

      Supported API: true
      Parameters:
      mbeanContext - MBean to use as a lookup context for the given MBean (currently ignored unless SelfAwareMBean)
      throwExceptionOnNoInstance - Whether a NullPointerException should be thrown when no started instance is available