public class ApplicationEnvironmentPreparedEvent extends SpringApplicationEvent
SpringApplication
is starting up and the
Environment
is first available for inspection and modification.source
Constructor and Description |
---|
ApplicationEnvironmentPreparedEvent(SpringApplication application,
String[] args,
org.springframework.core.env.ConfigurableEnvironment environment) |
Modifier and Type | Method and Description |
---|---|
org.springframework.core.env.ConfigurableEnvironment |
getEnvironment() |
getArgs, getSpringApplication
getSource, toString
public ApplicationEnvironmentPreparedEvent(SpringApplication application, String[] args, org.springframework.core.env.ConfigurableEnvironment environment)
application
- the current applicationargs
- the argumemts the application is running withenvironment
- the environment that was just createdCopyright © 2014 Pivotal Software, Inc.. All rights reserved.