javax.management.remote
public class TargetedNotification extends Object implements Serializable
Since: 1.5
| Constructor Summary | |
|---|---|
| TargetedNotification(Notification notif, Integer id)
Constructs a new TargetedNotification which connects
the supplied notification with the specified identifier. | |
| Method Summary | |
|---|---|
| Integer | getListenerID()
Returns the identifier for the listener
which received the notification.
|
| Notification | getNotification()
Returns the notification.
|
| String | toString()
Returns a textual representation of the object.
|
Parameters: notif the notification. id the identifier of the listener that received the notification.
Throws: IllegalArgumentException if either argument is
null.
Returns: the identifier.
Returns: the notification.
Returns: a textual representation.