org.springframework.boot.context.event

Class ApplicationStartedEvent

  • All Implemented Interfaces:
    Serializable


    public class ApplicationStartedEvent
    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.
    Author:
    Dave Syer
    See Also:
    Serialized Form
    • Constructor Detail

      • ApplicationStartedEvent

        public ApplicationStartedEvent(SpringApplication application,
                               String[] args)
        Parameters:
        application - the current application
        args - the arguments the application is running with

Copyright © 2015 Pivotal Software, Inc.. All rights reserved.