クラス ApplicationContextEvent
java.lang.ObjectSE
java.util.EventObjectSE
org.springframework.context.ApplicationEvent
org.springframework.context.event.ApplicationContextEvent
- 実装済みのインターフェース一覧:
SerializableSE
ApplicationContext に対して発生するイベントの基本クラス。- 導入:
- 2.5
- 作成者:
- Juergen Hoeller, Sam Brannen
- 関連事項:
フィールド概要
クラス EventObjectSE から継承されたフィールド
sourceSEコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明final ApplicationContextイベントが発生したApplicationContextを取得します。イベントが発生したApplicationContextを取得します。クラス ApplicationEvent から継承されたメソッド
getTimestampクラス EventObjectSE から継承されたメソッド
toString
コンストラクターの詳細
ApplicationContextEvent
新しいApplicationContextEventを作成します。- パラメーター:
source- イベントが発生したApplicationContext(nullであってはなりません)
メソッドの詳細
getSource
イベントが発生したApplicationContextを取得します。- オーバーライド:
- クラス
EventObjectSEのgetSource - 戻り値:
- イベントが発生した
ApplicationContext - 導入:
- 7.0
- 関連事項:
getApplicationContext