checkInstantiate(Class mbeanClass) testing that a MBean of a given class can be instantiated by the MBean server for MBeanServer.instantiate
This method checks that:
The given class is a concrete class.
a MBean Class must be a class and must implement a MBean Inteface or DynamicMBean interface and the interface must be public
throws: NotCompliantMBeanException -
testing that a MBean of a given class can be instantiated by the MBean server for MBeanServer.instantiate
This method checks that:
The given class is a concrete class.
The given class exposes at least one public constructor.
If these conditions are not met, throws a NotCompliantMBeanException.
throws: javax.management.ReflectionException -