A (Notification, Listener ID) pair.
This class is used to associate an emitted notification with the listener ID to which it is targeted.
| Modifier and Type | Field and Description |
|---|---|
| private Integer | |
| private Notification | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | TargetedNotification(Notification
Notification emitted from the MBean server. notification, Integer The ID of the listener to which this
notification is targeted. listenerID)Constructs a |
| Modifier and Type | Method and Description |
|---|---|
| public Integer | Returns: The listener ID.The ID of the listener to which the notification is targeted. |
| public Notification | |
| private void | |
| public String | Returns: a String representation of this Targeted Notification.Overrides java. Returns a textual representation of this Targeted Notification. |
| private static void |
| id | back to summary |
|---|---|
private Integer id
| |
| notif | back to summary |
|---|---|
private Notification notif
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| TargetedNotification | back to summary |
|---|---|
| public TargetedNotification(Notification notification, Integer listenerID) Constructs a
| |
| getListenerID | back to summary |
|---|---|
| public Integer getListenerID() The ID of the listener to which the notification is targeted.
| |
| getNotification | back to summary |
|---|---|
| public Notification getNotification() The emitted notification.
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream ois) throws IOException, ClassNotFoundException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns a textual representation of this Targeted Notification.
| |
| validate | back to summary |
|---|---|
| private static void validate(Notification notif, Integer id) throws IllegalArgumentException | |