Class MBeanDumper
java.lang.Object
org.apache.catalina.mbeans.MBeanDumper
General helper to dump MBean contents to the log.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringManagerThe string manager for this class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringdumpBeans(MBeanServer mbeanServer, Set<ObjectName> names) The following code to dump MBeans has been copied from JMXProxyServlet.static StringEscape a string value for display.
-
Field Details
-
sm
The string manager for this class.
-
-
Constructor Details
-
MBeanDumper
public MBeanDumper()Default constructor.
-
-
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
-