| javax.management.Notification javax.management.MBeanServerNotification
MBeanServerNotification | public class MBeanServerNotification extends Notification (Code) | | The MBeanServerNotification class represents an notification emitted by the
MBean Server. The MBean Server emits these types of notifications:
MBean registration, MBean de-registration.
To receive to MBeanServerNotifications, you need to be declared as listener
to the
javax.management.MBeanServerDelegatejavax.management.MBeanServerDelegate MBean that represents the MBeanServer.
The ObjectName of the MBeanServerDelegate is:
JMImplementation:type=MBeanServerDelegate .
|
Constructor Summary | |
public | MBeanServerNotification(String type, Object source, long sequenceNumber, ObjectName objectName) Creates a MBeanServerNotification object with specified object names of
the MBeans that caused the notification and the specified notification type.
Parameters: type - A string denoting the type of the notification. |
REGISTRATION_NOTIFICATION | final public static String REGISTRATION_NOTIFICATION(Code) | | Notification type denoting that a MBean has been registered. Value is
"JMX.mbean.registered".
|
UNREGISTRATION_NOTIFICATION | final public static String UNREGISTRATION_NOTIFICATION(Code) | | Notification type denoting that a MBean has been uregsitered. Value is
"JMX.mbean.unregistered".
|
MBeanServerNotification | public MBeanServerNotification(String type, Object source, long sequenceNumber, ObjectName objectName)(Code) | | Creates a MBeanServerNotification object with specified object names of
the MBeans that caused the notification and the specified notification type.
Parameters: type - A string denoting the type of the notification. Set it toone these values:REGISTRATION_NOTIFICATION, UNREGISTRATION_NOTIFICATION Parameters: source - The MBeanServerNotification object responsible toforward MBeanServer notification. Parameters: sequenceNumber - The notification sequence number withinthe source object Parameters: objectNames - A list of the object names of the MBeans thatcaused the notification. |
getMBeanName | public ObjectName getMBeanName()(Code) | | Returns object name of the MBean that caused the notification
This returns name of the MBean that caused the notification |
|
|