public class ApplicationPreparedEvent extends SpringApplicationEvent
SpringApplication is starting up and the
ApplicationContext is fully prepared but not refreshed. The bean definitions
will be loaded and the Environment is ready for use at this stage.source| Constructor and Description |
|---|
ApplicationPreparedEvent(SpringApplication application,
String[] args,
ConfigurableApplicationContext context) |
| Modifier and Type | Method and Description |
|---|---|
ConfigurableApplicationContext |
getApplicationContext() |
getArgs, getSpringApplicationgetTimestampgetSource, toStringpublic ApplicationPreparedEvent(SpringApplication application, String[] args, ConfigurableApplicationContext context)
application - the current applicationargs - the argumemts the application is running withcontext - the ApplicationContext about to be refreshedpublic ConfigurableApplicationContext getApplicationContext()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.