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