Class MBeanDumper


  • public class MBeanDumper
    extends Object
    General helper to dump MBean contents to the log.
    • Constructor Detail

      • MBeanDumper

        public MBeanDumper()
    • Method Detail

      • dumpBeans

        public static String dumpBeans​(MBeanServer mbeanServer,
                                       Set<ObjectName> names)
        The following code to dump MBeans has been copied from JMXProxyServlet.
        Parameters:
        mbeanServer - the MBean server
        names - a set of object names for which to dump the info
        Returns:
        a string representation of the MBeans