private static void checkNonPrimitive(String str)
throws ClassNotFoundException, NotCompliantMBeanException
{
Class c = Class.forName(str);
MBeanIntrospector intr = new MBeanIntrospector(c);
String msg = " Type = ";
msg += intr.isStandardMBean() ? "isStandard" :
intr.isDynamicMBean() ? "isDynamic" : "Don't know";
Debug.println(str + msg);
Debug.println("Management interface = " +
intr.getMBeanInterfaceClass().getName());
}