public class ApplicationEnvironmentPreparedEvent extends SpringApplicationEvent
SpringApplication
が起動し、Environment
が最初にインスペクションと変更に使用できるようになったときに発行されるイベント。sourceSE
コンストラクターと説明 |
---|
ApplicationEnvironmentPreparedEvent(SpringApplication application, StringSE[] args, org.springframework.core.env.ConfigurableEnvironment environment) 新しい ApplicationEnvironmentPreparedEvent インスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
org.springframework.core.env.ConfigurableEnvironment | getEnvironment() 環境を返します。 |
getArgs, getSpringApplication
getSourceSE, toStringSE
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSE
public ApplicationEnvironmentPreparedEvent(SpringApplication application, StringSE[] args, org.springframework.core.env.ConfigurableEnvironment environment)
ApplicationEnvironmentPreparedEvent
インスタンスを作成します。application
- 現在のアプリケーション args
- アプリケーションが実行されている引数 environment
- 作成されたばかりの環境 Copyright © 2019 Pivotal Software, Inc.. All rights reserved.