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,
ConfigurableEnvironment environment) |
Modifier and Type | Method and Description |
---|---|
ConfigurableEnvironment |
getEnvironment() |
getArgs, getSpringApplication
getTimestamp
getSource, toString
public ApplicationEnvironmentPreparedEvent(SpringApplication application, String[] args, ConfigurableEnvironment environment)
application
- the current applicationargs
- the argumemts the application is running withenvironment
- the environment that was just createdpublic ConfigurableEnvironment getEnvironment()
Copyright © 2014 Pivotal Software, Inc.. All rights reserved.