question: public static synchronized MBeanInfo testCompliance ( final Class < ? > baseClass , Class < ? > mbeanInterface ) throws NotCompliantMBeanException { if ( mbeanInterface == null ) mbeanInterface = getStandardMBeanInterface ( baseClass ) ; ReflectUtil . checkPackageAccess ( mbeanInterface ) ; MBeanIntrospector < ? > introspector = StandardMBeanIntrospector . getInstance ( ) ; return getClassMBeanInfo ( introspector , baseClass , mbeanInterface ) ; }
target:  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.