return notifs == null ? null : notifs;
}
private MBeanMetaData introspectMBean(Object implementation, Class management)
{
MBeanMetaData metadata = MBeanMetaData.Factory.create();
metadata.setMBean(implementation);
metadata.setClassLoader(implementation.getClass().getClassLoader());
metadata.setMBeanStandard(true);
metadata.setMBeanInterface(management);
MBeanIntrospector introspector = new MBeanIntrospector();
introspector.introspect(metadata);
if (!introspector.isMBeanCompliant(metadata)) return null;