クラス DelegatingApplicationListener

java.lang.ObjectSE
org.springframework.security.context.DelegatingApplicationListener
実装されたすべてのインターフェース:
EventListenerSEorg.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 にすることはできません。