ApplicationStartingEvent
@Deprecated public class ApplicationStartedEvent extends ApplicationStartingEvent
SpringApplication
has been started - before the Environment
or ApplicationContext
is
available, but after the ApplicationListener
s 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.source
Constructor and Description |
---|
ApplicationStartedEvent(SpringApplication application,
String[] args)
Deprecated.
Create a new
ApplicationStartedEvent instance. |
getArgs, getSpringApplication
getTimestamp
getSource, toString
public ApplicationStartedEvent(SpringApplication application, String[] args)
ApplicationStartedEvent
instance.application
- the current applicationargs
- the arguments the application is running withCopyright © 2019 Pivotal Software, Inc.. All rights reserved.