public class ApplicationReadyEvent extends SpringApplicationEvent
SpringApplicationitself, but beware of modifying its internal state since all initialization steps will have been completed by then.
|Constructor and Description|
Create a new
|Modifier and Type||Method and Description|
Return the application context.
public ApplicationReadyEvent(SpringApplication application, String args, ConfigurableApplicationContext context)
application- the current application
args- the arguments the application is running with
context- the context that was being created
public ConfigurableApplicationContext getApplicationContext()