<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mbean PUBLIC
   "-//JBoss//DTD JBOSS XMBEAN 1.2//EN"
   "http://www.jboss.org/j2ee/dtd/jboss_xmbean_1_2.dtd">
<mbean>
   <description>JVMTIWrapper MBean Utility / JBoss Profiler Tool</description>
   <class>org.jboss.profiler.jvmti.JVMTIInterface</class>
   
   <operation>
     <description>Creates a snapshot of the current heap state</description>
     <name>heapSnapshot</name>
     <parameter>
       <description>A Prefix file, for example /tmp/memory</description>
       <name>directoryAndPrefix</name>
       <type>java.lang.String</type>
     </parameter>
     <parameter>
       <description>suffix file, example log</description>
       <name>suffix</name>
       <type>java.lang.String</type>
     </parameter>
     <return-type>void</return-type>
   </operation>

  
   <operation>
     <description>Show the reference holders tree of an object</description>
     <name>exploreClassReferences</name>
     <parameter>
       <description>The name of the class to explore</description>
       <name>className</name>
       <type>java.lang.String</type>
     </parameter>
     <parameter>
       <description></description>
       <name>maxLevel</name>
       <type>int</type>
     </parameter>
     <parameter>
       <description></description>
       <name>solveReferencesOnClass</name>
       <type>boolean</type>
     </parameter>
     <parameter>
       <description></description>
       <name>solveReferencesOnClassLoader</name>
       <type>boolean</type>
     </parameter>
     <parameter>
       <description></description>
       <name>useToString</name>
       <type>boolean</type>
     </parameter>
     <parameter>
       <description></description>
       <name>weakAndSoft</name>
       <type>boolean</type>
     </parameter>
     <parameter>
       <description>If true will print every object instanceof parameter className</description>
       <name>printObjects</name>
       <type>boolean</type>
     </parameter>
     <return-type>java.lang.String</return-type>
   </operation>

   <operation>
     <description>Will force a fullGC using internal JVMTI operation. This doesn't use System.gc(). After calling this method a FullGC will really happen.</description>
     <name>forceGC</name>
   </operation>
   
   <operation>
     <description>Will show a report of every class loaded on this JVM. At the beggining of the report you will see duplicated classes (classes loaded in more than one classLoader)</description>
     <name>listClassesHTMLReport</name>
     <return-type>java.lang.String</return-type>
   </operation>
   
   <operation>
     <description>Will force an OutOfMemoryError and clean the memory immediatly. This will force any SoftReference being released.</description>
     <name>forceReleaseOnSoftReferences</name>
   </operation>
   
   <operation>
     <description>Will list the current memory inventory .</description>
     <name>inventoryReport</name>
     <return-type>java.lang.String</return-type>
   </operation>
   
   <operation>
     <description>Print every object on a given class </description>
     <name>printObjects</name>
     <parameter>
       <description>The name of the class to explore</description>
       <name>className</name>
       <type>java.lang.String</type>
     </parameter>
     <return-type>java.lang.String</return-type>
   </operation>

   <operation>
     <description>Print every object Reference Tree on a given class. (Careful: don't use any extensive object as String, as this method might hang. </description>
     <name>exploreObjectReferences</name>
     <parameter>
       <description>The name of the class to explore</description>
       <name>className</name>
       <type>java.lang.String</type>
     </parameter>
     <parameter>
       <description></description>
       <name>maxLevel</name>
       <type>int</type>
     </parameter>
     <parameter>
       <description></description>
       <name>useToString</name>
       <type>boolean</type>
     </parameter>
     <return-type>java.lang.String</return-type>
   </operation>
   
   
</mbean>