public class ApplicationEnvironmentPreparedEvent extends SpringApplicationEvent
SpringApplicationis starting up and the
Environmentis first available for inspection and modification.
|Constructor and Description|
Create a new
|Modifier and Type||Method and Description|
Return the environment.
public ApplicationEnvironmentPreparedEvent(SpringApplication application, String args, ConfigurableEnvironment environment)
application- the current application
args- the arguments the application is running with
environment- the environment that was just created
public ConfigurableEnvironment getEnvironment()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.