public class SpringApplicationEnvironmentAvailableEvent
extends org.springframework.context.ApplicationEvent
SpringApplication
is starting up and the
Environment
is first available for inspection and modification.source
Constructor and Description |
---|
SpringApplicationEnvironmentAvailableEvent(SpringApplication springApplication,
org.springframework.core.env.ConfigurableEnvironment environment,
String[] args) |
Modifier and Type | Method and Description |
---|---|
String[] |
getArgs() |
org.springframework.core.env.ConfigurableEnvironment |
getEnvironment() |
SpringApplication |
getSpringApplication() |
getSource, toString
public SpringApplicationEnvironmentAvailableEvent(SpringApplication springApplication, org.springframework.core.env.ConfigurableEnvironment environment, String[] args)
springApplication
- the current applicationenvironment
- the environment that was just createdargs
- the argumemts the application is running withpublic SpringApplication getSpringApplication()
public String[] getArgs()
public org.springframework.core.env.ConfigurableEnvironment getEnvironment()
Copyright © 2014. All rights reserved.