|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectjavax.management.remote.TargetedNotification
public class TargetedNotification
通知とリスナー ID のペア (Notification, Listener ID) です。
このクラスは、発行された通知と、そのターゲットのリスナーのリスナー ID を関連付けるために使用されます。
| コンストラクタの概要 | |
|---|---|
TargetedNotification(Notification notification,
Integer listenerID)
TargetedNotification オブジェクトを構築します。 |
|
| メソッドの概要 | |
|---|---|
Integer |
getListenerID()
通知のターゲットとなるリスナーの ID です。 |
Notification |
getNotification()
発行された通知 |
String |
toString()
この Targeted Notification のテキスト表現を返します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| コンストラクタの詳細 |
|---|
public TargetedNotification(Notification notification,
Integer listenerID)
TargetedNotification オブジェクトを構築します。このオブジェクトには、通知とリスナー ID のペア (Notification, Listener ID) が含まれます。リスナー ID は、その通知のターゲットとなるクライアントリスナーを識別します。クライアントリスナー ID は、以前に addNotificationListener 要求への応答としてコネクタサーバから返された ID です。
notification - MBean サーバから発行された通知listenerID - この通知のターゲットとなるリスナーの ID
IllegalArgumentException - listenerID または notification が null の場合| メソッドの詳細 |
|---|
public Notification getNotification()
発行された通知
public Integer getListenerID()
通知のターゲットとなるリスナーの ID です。
public String toString()
Object 内の toString
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。