public class SpringApplicationStartEvent
extends org.springframework.context.ApplicationEvent
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.source| Constructor and Description |
|---|
SpringApplicationStartEvent(SpringApplication springApplication,
String[] args) |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getArgs() |
SpringApplication |
getSpringApplication() |
getSource, toStringpublic SpringApplicationStartEvent(SpringApplication springApplication, String[] args)
springApplication - the current applicationargs - the argumemts the application is running withpublic SpringApplication getSpringApplication()
public String[] getArgs()
Copyright © 2014. All rights reserved.