| java.lang.Object | |
| ↳ | com.sun.jmx.mbeanserver.Introspector |
This class contains the methods for performing all the tests needed to verify that a class represents a JMX compliant MBean.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get the MBean interface implemented by a JMX Standard
MBean class.
| |||||||||||
Get the MXBean interface implemented by a JMX MXBean class.
| |||||||||||
Get the MBean interface implemented by a JMX Standard MBean class.
| |||||||||||
Tell whether a MBean of the given class is a Dynamic MBean.
| |||||||||||
Basic method for testing if a given class is a JMX compliant MBean.
| |||||||||||
Basic method for testing if a given class is a JMX compliant
Standard MBean.
| |||||||||||
Basic method for testing that a MBean of a given class can be
instantiated by the MBean server.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Get the MBean interface implemented by a JMX Standard MBean class. This method is only called by the legacy code in "com.sun.management.jmx".
| baseClass | The class to be tested. |
|---|
null if the MBean is a DynamicMBean,
or if no MBean interface is found.
Get the MXBean interface implemented by a JMX MXBean class.
| baseClass | The class to be tested. |
|---|
| NotCompliantMBeanException | The specified class is not a JMX compliant MXBean. |
|---|
Get the MBean interface implemented by a JMX Standard MBean class.
| baseClass | The class to be tested. |
|---|
| NotCompliantMBeanException | The specified class is not a JMX compliant Standard MBean. |
|---|
Tell whether a MBean of the given class is a Dynamic MBean. This method does nothing more than returning
javax.management.DynamicMBean.class.isAssignableFrom(c)This method does not check for any JMX MBean compliance:
true is returned, then instances of
c are DynamicMBean.false is returned, then no further
assumption can be made on instances of c.
In particular, instances of c may, or may not
be JMX standard MBeans.| c | The class of the MBean under examination. |
|---|
true if instances of c are
Dynamic MBeans, false otherwise.
Basic method for testing if a given class is a JMX compliant MBean.
| baseClass | The class to be tested |
|---|
null if the MBean is a DynamicMBean,
the computed MBeanInfo otherwise.| NotCompliantMBeanException | The specified class is not a JMX compliant MBean |
|---|
Basic method for testing if a given class is a JMX compliant Standard MBean. This method is only called by the legacy code in com.sun.management.jmx.
| baseClass | The class to be tested. |
|---|---|
| mbeanInterface | the MBean interface that the class implements, or null if the interface must be determined by introspection. |
MBeanInfo.| NotCompliantMBeanException | The specified class is not a JMX compliant Standard MBean |
|---|
| NotCompliantMBeanException |
|---|
Basic method for testing that a MBean of a given class can be instantiated by the MBean server.
This method checks that:
| c | The class of the MBean we want to create. |
|---|
| NotCompliantMBeanException | if the MBean class makes it impossible to instantiate the MBean from within the MBeanServer. |
|---|