private final MBeanInfo buildMBeanInfo(Object implementation, Class mbeanInterface)
throws NotCompliantMBeanException
{
StandardMetaData metaData = new StandardMetaData(implementation, mbeanInterface);
this.mbeanInterface = metaData.getMBeanInterface();
MBeanInfo info = metaData.build();
String className = getClassName(info);
String mainDescription = getDescription(info);
MBeanAttributeInfo[] attributes = info.getAttributes();
MBeanConstructorInfo[] constructors = info.getConstructors();