com.sun.management.jmx
Class Introspector

java.lang.Object
  |
  +--com.sun.management.jmx.Introspector

public class Introspector
extends java.lang.Object

This class contains the methods for performing all the tests needed to verify that a class represents a JMX compliant MBean.


Method Summary
static java.lang.Class getMBeanInterface(java.lang.Class c)
          Basic method for testing if a given class is a dynamic MBean
static MBeanInfo testCompliance(java.lang.Class c)
          Basic method for testing if a given class is a JMX compliant MBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

testCompliance

public static MBeanInfo testCompliance(java.lang.Class c)
                                throws NotCompliantMBeanException
Basic method for testing if a given class is a JMX compliant MBean
Parameters:
c - The class to be tested
Throws:
NotCompliantMBeanException - The specified class is not a JMX compliant MBean

getMBeanInterface

public static java.lang.Class getMBeanInterface(java.lang.Class c)
Basic method for testing if a given class is a dynamic MBean
Parameters:
c - The class to be tested
Returns:
The MBean interface implemented by the MBean or null if the MBean is a Dynamic MBean.