org.alfresco.repo.management
Class JmxDumpUtil

java.lang.Object
  extended by org.alfresco.repo.management.JmxDumpUtil

public class JmxDumpUtil
extends java.lang.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.


Constructor Summary
JmxDumpUtil()
           
 
Method Summary
static void dumpConnection(javax.management.MBeanServerConnection connection, java.io.PrintWriter out)
          Dumps a local or remote MBeanServer's entire object tree for support purposes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmxDumpUtil

public JmxDumpUtil()
Method Detail

dumpConnection

public static void dumpConnection(javax.management.MBeanServerConnection connection,
                                  java.io.PrintWriter out)
                           throws java.io.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:
java.io.IOException - Signals that an I/O exception has occurred.


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.