javax.naming.ldap
クラス UnsolicitedNotificationEvent
java.lang.Object
|
+--java.util.EventObject
|
+--javax.naming.ldap.UnsolicitedNotificationEvent
- すべての実装インタフェース:
- Serializable
- public class UnsolicitedNotificationEvent
- extends EventObject
このクラスは、LDAP サーバから送信された非要請通知に応じてトリガーされたイベントを表します
- 導入されたバージョン:
- 1.3
- 関連項目:
UnsolicitedNotification
,
UnsolicitedNotificationListener
,
EventContext.addNamingListener(javax.naming.Name, int, javax.naming.event.NamingListener)
,
EventDirContext.addNamingListener(javax.naming.Name, java.lang.String, javax.naming.directory.SearchControls, javax.naming.event.NamingListener)
,
EventContext.removeNamingListener(javax.naming.event.NamingListener)
, 直列化された形式
UnsolicitedNotificationEvent
public UnsolicitedNotificationEvent(Object src,
UnsolicitedNotification notice)
- UnsolicitedNotificationEvent の新しいインスタンスを構築します。
- パラメータ:
src
- イベントをトリガーした null 以外のソースnotice
- null 以外の非要請通知
getNotification
public UnsolicitedNotification getNotification()
- 非要請通知を返します。
- 戻り値:
- このイベントがトリガーされる原因となった、null 以外の非要請通知
dispatch
public void dispatch(UnsolicitedNotificationListener listener)
- このイベントを使って、リスナーの notificationReceived() メソッドを呼び出します。
- パラメータ:
listener
- notificationReceived を呼び出す null 以外のリスナー
バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。 Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.