org.springframework.boot.context.event

Class ApplicationStartingEvent

  • All Implemented Interfaces:
    java.io.Serializable


    public class ApplicationStartingEvent
    extends SpringApplicationEvent
    Event published as early as conceivably possible as soon as a SpringApplication has been started - before the Environment or ApplicationContext is available, but after the ApplicationListeners have been registered. The source of the event is the SpringApplication itself, but beware of using its internal state too much at this early stage since it might be modified later in the lifecycle.
    Since:
    1.5.0
    See Also:
    Serialized Form