インターフェース ApplicationEventPublisherAware

すべてのスーパーインターフェース:
Aware
すべての既知の実装クラス:
AbstractBrokerMessageHandlerEventPublicationInterceptorSimpleBrokerMessageHandlerStompBrokerRelayMessageHandlerStompSubProtocolHandler

public interface ApplicationEventPublisherAware extends Aware
実行される ApplicationEventPublisher(通常は ApplicationContext)の通知を希望するオブジェクトによって実装されるインターフェース。
導入:
1.1.1
作成者:
Juergen Hoeller, Chris Beams
関連事項:
  • メソッドのサマリー

    修飾子と型
    メソッド
    説明
    void
    このオブジェクトが実行される ApplicationEventPublisher を設定します。
  • メソッドの詳細

    • setApplicationEventPublisher

      void setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher)
      このオブジェクトが実行される ApplicationEventPublisher を設定します。

      通常の Bean プロパティの設定後、InitializingBean の afterPropertiesSet またはカスタム init メソッドのような初期コールバックの前に呼び出されます。ApplicationContextAware の setApplicationContext の前に呼び出されます。

      パラメーター:
      applicationEventPublisher - このオブジェクトによって使用されるイベント発行元