クラス ApplicationPreparedEvent

実装されたすべてのインターフェース:
SerializableSE

public class ApplicationPreparedEvent extends SpringApplicationEvent
SpringApplication が起動し、ApplicationContext が完全に準備されているがリフレッシュされていない場合に発行されるイベント。Bean 定義がロードされ、Environment がこの段階で使用できるようになります。
導入:
1.0.0
作成者:
Dave Syer
関連事項:
  • コンストラクターの詳細

    • ApplicationPreparedEvent

      public ApplicationPreparedEvent(SpringApplication application, StringSE[] args, ConfigurableApplicationContext context)
      新しい ApplicationPreparedEvent インスタンスを作成します。
      パラメーター:
      application - 現在のアプリケーション
      args - アプリケーションが実行されている引数
      context - リフレッシュされる ApplicationContext
  • メソッドの詳細

    • getApplicationContext

      public ConfigurableApplicationContext getApplicationContext()
      アプリケーションコンテキストを返します。
      戻り値:
      コンテキスト