String name = it.next();
attrs[i] = new MBeanAttributeInfo(
name, "java.lang.String", "Property " + name, true, false, false);
}
MBeanOperationInfo[] opers = {
new MBeanOperationInfo(
START_ACTION, "Start the lifecycle",
null, "void", MBeanOperationInfo.ACTION),
new MBeanOperationInfo(
STOP_ACTION, "Stop the lifecycle",
null, "void", MBeanOperationInfo.ACTION),
};
return new MBeanInfo(
this.getClass().getName(), "Lifecycle Controller MBean",