|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.management.remote.TargetedNotification
public class TargetedNotification
Wraps a notification with an identifier that specifies the listener which received it.
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TargetedNotification(Notification notif, Integer id)
TargetedNotification
which connects
the supplied notification with the specified identifier. The
identifier matches one of those returned by a previous call
to add a new notification listener.
notif
- the notification.id
- the identifier of the listener that received the
notification.
IllegalArgumentException
- if either argument is
null
.Method Detail |
---|
public Notification getNotification()
public Integer getListenerID()
public String toString()
toString
in class Object
Object.getClass()
,
Object.hashCode()
,
Class.getName()
,
Integer.toHexString(int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |