public class ApplicationContextInitializedEvent extends SpringApplicationEvent
SpringApplication is starting up and the
 ApplicationContext is prepared and ApplicationContextInitializers have been
 called but before any bean definitions are loaded.source| Constructor and Description | 
|---|
| ApplicationContextInitializedEvent(SpringApplication application,
                                  String[] args,
                                  org.springframework.context.ConfigurableApplicationContext context)Create a new  ApplicationContextInitializedEventinstance. | 
| Modifier and Type | Method and Description | 
|---|---|
| org.springframework.context.ConfigurableApplicationContext | getApplicationContext()Return the application context. | 
getArgs, getSpringApplicationgetSource, toStringpublic ApplicationContextInitializedEvent(SpringApplication application, String[] args, org.springframework.context.ConfigurableApplicationContext context)
ApplicationContextInitializedEvent instance.application - the current applicationargs - the arguments the application is running withcontext - the context that has been initializedCopyright © 2020 Pivotal Software, Inc.. All rights reserved.