public final MBeanNotificationInfo[] getNotificationInfo() {
MBeanNotificationInfo[] result = new MBeanNotificationInfo[2];
Descriptor genericDescriptor = new DescriptorSupport(new String[] {
"name=GENERIC", "descriptorType=notification", "log=T",
"severity=5", "displayName=jmx.modelmbean.generic" });
result[0] = new ModelMBeanNotificationInfo(new String[] {"jmx.modelmbean.generic" }, "GENERIC",
"A text notification has been issued by the managed resource", genericDescriptor);
Descriptor attributeDescriptor = new DescriptorSupport(new String[] {"name=ATTRIBUTE_CHANGE", "descriptorType=notification",
"log=T", "severity=5", "displayName=jmx.attribute.change" });
result[1] = new ModelMBeanNotificationInfo(new String[] {"jmx.attribute.change" }, "ATTRIBUTE_CHANGE",
"Signifies that an observed MBean attribute value has changed", attributeDescriptor);
return result;
}