remove MBeanConstructorInfo

This commit is contained in:
Doug MacEachern 2009-04-29 14:42:42 -07:00
parent b3603f4489
commit ad8325e616
1 changed files with 1 additions and 12 deletions

View File

@ -21,9 +21,7 @@ package org.hyperic.sigar.jmx;
import java.util.ArrayList;
import javax.management.AttributeNotFoundException;
import javax.management.MBeanConstructorInfo;
import javax.management.MBeanInfo;
import javax.management.MBeanParameterInfo;
import javax.management.MBeanServer;
import javax.management.ObjectInstance;
import javax.management.ObjectName;
@ -31,7 +29,6 @@ import javax.management.ObjectName;
import org.hyperic.sigar.CpuInfo;
import org.hyperic.sigar.FileSystem;
import org.hyperic.sigar.NetInterfaceConfig;
import org.hyperic.sigar.Sigar;
import org.hyperic.sigar.SigarException;
import org.hyperic.sigar.SigarProxy;
@ -66,15 +63,7 @@ public class SigarRegistry extends AbstractMBean {
private static final MBeanInfo MBEAN_INFO;
private static final MBeanConstructorInfo MBEAN_CONSTR_DEFAULT;
static {
MBEAN_CONSTR_DEFAULT = new MBeanConstructorInfo(
SigarRegistry.class.getName(),
"Creates a new instance of this class. Will create the Sigar "
+ "instance this class uses when constructing other MBeans",
new MBeanParameterInfo[0]);
MBEAN_INFO = new MBeanInfo(
SigarRegistry.class.getName(),
"Sigar MBean registry. Provides a central point for creation "
@ -82,7 +71,7 @@ public class SigarRegistry extends AbstractMBean {
+ "this instance will automatically be cleaned up when this "
+ "instance is deregistered from the MBean server.",
null /*new MBeanAttributeInfo[0] */,
new MBeanConstructorInfo[] { MBEAN_CONSTR_DEFAULT },
null /*new MBeanConstructorInfo[0]*/,
null /*new MBeanOperationInfo[0] */,
null /*new MBeanNotificationInfo[0]*/);
}