javax.management
public class MBeanServerNotification extends Notification
ObjectName
JMImplementation:type=MBeanServerDelegate
.Modifier and Type | Field and Description |
---|---|
static String |
REGISTRATION_NOTIFICATION
Notification type for the registration event.
|
static String |
UNREGISTRATION_NOTIFICATION
Notification type for the de-registration event.
|
source
Constructor and Description |
---|
MBeanServerNotification(String type,
Object source,
long seqNo,
ObjectName name)
Constructs a new
MBeanServerNotification of the specified
type for an event relating to the supplied bean, with the given
source and sequence number. |
Modifier and Type | Method and Description |
---|---|
ObjectName |
getMBeanName()
Returns the name of the bean this notification concerns.
|
getMessage, getSequenceNumber, getTimeStamp, getType, getUserData, setSequenceNumber, setSource, setTimeStamp, setUserData, toString
getSource
public static final String REGISTRATION_NOTIFICATION
public static final String UNREGISTRATION_NOTIFICATION
public MBeanServerNotification(String type, Object source, long seqNo, ObjectName name)
MBeanServerNotification
of the specified
type for an event relating to the supplied bean, with the given
source and sequence number.type
- the type of notification (registration or de-registration).source
- the source of the notification.seqNo
- the sequence number of this notification, used to order
multiple such notifications.name
- the name of the bean concerned by this event.public ObjectName getMBeanName()