public class ApplicationStartingEvent extends SpringApplicationEvent
SpringApplicationhas been started - before the
ApplicationContextis available, but after the
ApplicationListeners have been registered. The source of the event is the
SpringApplicationitself, but beware of using its internal state too much at this early stage since it might be modified later in the lifecycle.
|Constructor and Description|
Create a new
|Modifier and Type||Method and Description|
Return the bootstrap context.
public ApplicationStartingEvent(ConfigurableBootstrapContext bootstrapContext, SpringApplication application, String args)
bootstrapContext- the bootstrap context
application- the current application
args- the arguments the application is running with
public ConfigurableBootstrapContext getBootstrapContext()