Class: javax.management.MBeanServerNotification
- public class MBeanServerNotification
- extends Notification
Represents a notification emitted by the MBean server through the MBeanServerDelegate MBean.
The MBean Server emits the following types of notifications: MBean registration, MBean
de-registration.
To receive to MBeanServerNotifications, you need to be declared as listener to
the javax.management.MBeanServerDelegate MBean
that represents the MBeanServer. The ObjectName of the MBeanServerDelegate is:
JMImplementation:type=MBeanServerDelegate.
Inheritance
Superclass tree:- java.lang.Object
- java.util.EventObject
- javax.management.Notification
- javax.management.MBeanServerNotification
Methods
-
MBeanServerNotificationtop
public MBeanServerNotification(String type, Object source, long sequenceNumber, ObjectName objectName)Creates an MBeanServerNotification object specifying object names of the MBeans that caused the notification and the specified notification type. -
getMBeanNametop
public ObjectName getMBeanName()Returns the object name of the MBean that caused the notification.
Fields
-
REGISTRATION_NOTIFICATION
public static final String REGISTRATION_NOTIFICATION = "JMX.mbean.registered"Notification type denoting that an MBean has been registered. Value is "JMX.mbean.registered". -
UNREGISTRATION_NOTIFICATION
public static final String UNREGISTRATION_NOTIFICATION = "JMX.mbean.unregistered"Notification type denoting that an MBean has been unregistered. Value is "JMX.mbean.unregistered".
