com.sun.management
Class Introspector

java.lang.Object
  |
  +--com.sun.management.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.


Constructor Summary
Introspector()
           
 
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
 

Constructor Detail

Introspector

public Introspector()
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
Throws:
NotCompliantMBeanException - The specified class is not a JMX compliant MBean