クラス DelegatingApplicationListener
java.lang.ObjectSE
org.springframework.security.context.DelegatingApplicationListener
- 実装されたすべてのインターフェース:
EventListenerSE
,org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
public final class DelegatingApplicationListener
extends ObjectSE
implements org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
多数の SmartApplicationListener インスタンスに委譲するために使用されます。これは、SmartApplicationListener を ApplicationContext にプログラムで登録する必要がある場合に役立ちます。
コンストラクターのサマリー
メソッドのサマリー
修飾子と型メソッド説明void
addListener
(org.springframework.context.event.SmartApplicationListener smartApplicationListener) 使用する新しい SmartApplicationListener を追加します。void
onApplicationEvent
(org.springframework.context.ApplicationEvent event) クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.springframework.context.ApplicationListener から継承されたメソッド
supportsAsyncExecution
コンストラクターの詳細
DelegatingApplicationListener
public DelegatingApplicationListener()
メソッドの詳細
onApplicationEvent
public void onApplicationEvent(org.springframework.context.ApplicationEvent event) - 次で指定:
- インターフェース
org.springframework.context.ApplicationListener<org.springframework.context.ApplicationEvent>
のonApplicationEvent
addListener
public void addListener(org.springframework.context.event.SmartApplicationListener smartApplicationListener) 使用する新しい SmartApplicationListener を追加します。- パラメーター:
smartApplicationListener
- 使用する SmartApplicationListener。null にすることはできません。