Package org.apache.catalina.mbeans
Class MBeanDumper
java.lang.Object
org.apache.catalina.mbeans.MBeanDumper
General helper to dump MBean contents to the log.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
dumpBeans
(MBeanServer mbeanServer, Set<ObjectName> names) The following code to dump MBeans has been copied from JMXProxyServlet.static String
-
Field Details
-
sm
-
-
Constructor Details
-
MBeanDumper
public MBeanDumper()
-
-
Method Details
-
dumpBeans
The following code to dump MBeans has been copied from JMXProxyServlet.- Parameters:
mbeanServer
- the MBean servernames
- a set of object names for which to dump the info- Returns:
- a string representation of the MBeans
-
escape
-