インターフェース AuthenticationEventMulticaster
- すべての既知の実装クラス:
AuthenticationEventPublisher
、LifecycleAwareSessionManager
、LifecycleAwareSessionManagerSupport
、ReactiveLifecycleAwareSessionManager
public interface AuthenticationEventMulticaster
多数の
AuthenticationEvent
および AuthenticationErrorEvent
オブジェクトを管理し、それらにイベントを発行できるオブジェクトによって実装されるインターフェース。AuthenticationEventPublisher
(通常はライフサイクルを認識する SessionManager
) は、実際にイベントを発行するためのデリゲートとして AuthenticationEventMulticaster
を使用できます。
- 導入:
- 3.1
- 作成者:
- Mark Paluch
- 関連事項:
メソッドのサマリー
修飾子と型メソッド説明void
AuthenticationListener
を追加します。void
addErrorListener
(AuthenticationErrorListener listener) AuthenticationErrorListener
を追加します。void
指定されたアプリケーションイベントを適切なリスナーにマルチキャストします。void
指定されたアプリケーションイベントを適切なリスナーにマルチキャストします。void
AuthenticationListener
を削除します。void
AuthenticationErrorListener
を削除します。
メソッドの詳細
addAuthenticationListener
AuthenticationListener
を追加します。- パラメーター:
listener
- リスナーは null であってはなりません。
removeAuthenticationListener
AuthenticationListener
を削除します。- パラメーター:
listener
- リスナーは null であってはなりません。
addErrorListener
AuthenticationErrorListener
を追加します。- パラメーター:
listener
- リスナーは null であってはなりません。
removeErrorListener
AuthenticationErrorListener
を削除します。- パラメーター:
listener
- リスナーは null であってはなりません。
multicastEvent
指定されたアプリケーションイベントを適切なリスナーにマルチキャストします。- パラメーター:
event
- マルチキャストするイベント。
multicastEvent
指定されたアプリケーションイベントを適切なリスナーにマルチキャストします。- パラメーター:
event
- マルチキャストするイベント。