public class SpringApplicationBeforeRefreshEvent
extends org.springframework.context.ApplicationEvent
SpringApplication is starting up and the
ApplicationContext is about to refresh. The bean definitions will be loaded and
the Environment is ready for use at this stage.source| Constructor and Description |
|---|
SpringApplicationBeforeRefreshEvent(SpringApplication springApplication,
org.springframework.context.ConfigurableApplicationContext context,
String[] args) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.context.ConfigurableApplicationContext |
getApplicationContext() |
String[] |
getArgs() |
SpringApplication |
getSpringApplication() |
getSource, toStringpublic SpringApplicationBeforeRefreshEvent(SpringApplication springApplication, org.springframework.context.ConfigurableApplicationContext context, String[] args)
springApplication - the current applicationcontext - the ApplicationContext about to be refreshedargs - the argumemts the application is running withpublic SpringApplication getSpringApplication()
public String[] getArgs()
public org.springframework.context.ConfigurableApplicationContext getApplicationContext()
Copyright © 2014. All rights reserved.