Package org.alfresco.repo.management
Class JmxDumpUtil
- java.lang.Object
-
- org.alfresco.repo.management.JmxDumpUtil
-
public class JmxDumpUtil extends Object
A utility class providing a method to dump a local or remote MBeanServer's entire object tree for support purposes. Nested arrays and CompositeData objects in MBean attribute values are handled.- Author:
- dward
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROTECTED_VALUEPlace holder for protected values (generally passwords).
-
Constructor Summary
Constructors Constructor Description JmxDumpUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddumpConnection(MBeanServerConnection connection, PrintWriter out)Dumps a local or remote MBeanServer's entire object tree for support purposes.static StringupdateOSNameAttributeForLinux(String osName)Adds a Linux version
-
-
-
Field Detail
-
PROTECTED_VALUE
public static final String PROTECTED_VALUE
Place holder for protected values (generally passwords).- See Also:
- Constant Field Values
-
-
Method Detail
-
dumpConnection
public static void dumpConnection(MBeanServerConnection connection, PrintWriter out) throws IOException
Dumps a local or remote MBeanServer's entire object tree for support purposes. Nested arrays and CompositeData objects in MBean attribute values are handled.- Parameters:
connection- the server connection (or server itself)out- PrintWriter to write the output to- Throws:
IOException- Signals that an I/O exception has occurred.
-
-