System.out.println("Dump ModelMBeanInfo for Server:");
ObjectName name =
new ObjectName(server.getDefaultDomain() + ":type=Server");
// Return static ModelMBeanInfo information
ModelMBeanInfo info = (ModelMBeanInfo) server.getMBeanInfo(name);
System.out.println(" className=" + info.getClassName());
System.out.println(" description=" + info.getDescription());
System.out.println(" mbeanDescriptor=" + info.getMBeanDescriptor());
MBeanAttributeInfo attrs[] = info.getAttributes();
for (int i = 0; i < attrs.length; i++)
System.out.println(" AttributeInfo=" + attrs[i]);
MBeanConstructorInfo consts[] = info.getConstructors();
for (int i = 0; i < consts.length; i++)
System.out.println(" ConstructorInfo=" + consts[i]);
Descriptor descs[] = info.getDescriptors(null);
for (int i = 0; i < descs.length; i++)
System.out.println(" Descriptor=" + descs[i]);
MBeanNotificationInfo notifs[] = info.getNotifications();
for (int i = 0; i < notifs.length; i++)
System.out.println(" Notification=" + notifs[i]);
MBeanOperationInfo opers[] = info.getOperations();
for (int i = 0; i < opers.length; i++)
System.out.println(" Operation=" + opers[i]);
} catch (MBeanException t) {