| java.lang.Object javax.management.modelmbean.RequiredModelMBean
Method Summary | |
public void | addAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName, Object inhandback) | public void | addNotificationListener(NotificationListener inlistener, NotificationFilter infilter, Object inhandback) | public Object | getAttribute(String attrName) | public AttributeList | getAttributes(String[] attrNames) | protected ClassLoaderRepository | getClassLoaderRepository() | public MBeanInfo | getMBeanInfo() | public MBeanNotificationInfo[] | getNotificationInfo() Returns the array of Notifications generated by the RequiredModelMBean. | public Object | invoke(String opName, Object[] opArgs, String[] sig) | public void | load() | public void | postDeregister() | public void | postRegister(Boolean registrationDone) | public void | preDeregister() | public ObjectName | preRegister(MBeanServer server, ObjectName name) | public void | removeAttributeChangeNotificationListener(NotificationListener inlistener, String inAttributeName) | public void | removeNotificationListener(NotificationListener inlistener) | public void | removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) | public void | sendAttributeChangeNotification(AttributeChangeNotification ntfyObj) | public void | sendAttributeChangeNotification(Attribute inOldVal, Attribute inNewVal) | public void | sendNotification(Notification ntfyObj) | public void | sendNotification(String ntfyText) | public void | setAttribute(Attribute attribute) | public AttributeList | setAttributes(AttributeList attributes) | public void | setManagedResource(Object mr, String mr_type) | public void | setModelMBeanInfo(ModelMBeanInfo info) | public void | store() |
RequiredModelMBean | public RequiredModelMBean(ModelMBeanInfo info) throws MBeanException, RuntimeOperationsException(Code) | | Constructs a RequiredModelMBean object using ModelMBeanInfo passed in.
As long as the RequiredModelMBean is not registered with the MBeanServer yet,
the RequiredModelMBean's MBeanInfo and Descriptors can be customized using the
setModelMBeanInfo(javax.management.modelmbean.ModelMBeanInfo) method.
After the RequiredModelMBean's MBeanInfo and Descriptors are customized,
the RequiredModelMBean can be registered with the MBeanServer.
|
getNotificationInfo | public MBeanNotificationInfo[] getNotificationInfo()(Code) | | Returns the array of Notifications generated by the RequiredModelMBean.
RequiredModelMBean may always send also two additional notifications:
One with descriptor "name=GENERIC,descriptorType=notification,log=T,severity=5,displayName=jmx.modelmbean.generic"
Second is a standard attribute change notification with descriptor "name=ATTRIBUTE_CHANGE,descriptorType=notification,log=T,severity=5,displayName=jmx.attribute.change"
Thus these two notifications are always added to those specified by the application.
|
postDeregister | public void postDeregister()(Code) | | |
postRegister | public void postRegister(Boolean registrationDone)(Code) | | |
|
|