public class ApplicationStartedEvent extends SpringApplicationEvent
application and command line
runners have been called.source| Constructor and Description |
|---|
ApplicationStartedEvent(SpringApplication application,
String[] args,
ConfigurableApplicationContext context)
Create a new
ApplicationStartedEvent instance. |
| Modifier and Type | Method and Description |
|---|---|
ConfigurableApplicationContext |
getApplicationContext()
Return the application context.
|
getArgs, getSpringApplicationgetTimestampgetSource, toStringpublic ApplicationStartedEvent(SpringApplication application, String[] args, ConfigurableApplicationContext context)
ApplicationStartedEvent instance.application - the current applicationargs - the arguments the application is running withcontext - the context that was being createdpublic ConfigurableApplicationContext getApplicationContext()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.