public class ApplicationReadyEvent extends SpringApplicationEvent
SpringApplication
itself, but beware of modifying its internal state since all initialization steps will
have been completed by then.ApplicationFailedEvent
,
Serialized Formsource
Constructor and Description |
---|
ApplicationReadyEvent(SpringApplication application,
String[] args,
org.springframework.context.ConfigurableApplicationContext context)
Create a new
ApplicationReadyEvent instance. |
Modifier and Type | Method and Description |
---|---|
org.springframework.context.ConfigurableApplicationContext |
getApplicationContext()
Return the application context.
|
getArgs, getSpringApplication
getSource, toString
public ApplicationReadyEvent(SpringApplication application, String[] args, org.springframework.context.ConfigurableApplicationContext context)
ApplicationReadyEvent
instance.application
- the current applicationargs
- the arguments the application is running withcontext
- the context that was being createdCopyright © 2021 Pivotal Software, Inc.. All rights reserved.