ApplicationEnvironmentPreparedEvent

constructor(bootstrapContext: ConfigurableBootstrapContext, application: SpringApplication, args: Array<String>, environment: ConfigurableEnvironment)

Create a new ApplicationEnvironmentPreparedEvent instance.

Parameters

bootstrapContext

the bootstrap context

application

the current application

args

the arguments the application is running with

environment

the environment that was just created