public class BootstrapContextClosedEvent extends ApplicationEvent
ApplicationEvent published by a BootstrapContext when it's closed.BootstrapRegistry.addCloseListener(org.springframework.context.ApplicationListener),
Serialized Formsource| Modifier and Type | Method and Description |
|---|---|
ConfigurableApplicationContext |
getApplicationContext()
Return the prepared application context.
|
BootstrapContext |
getBootstrapContext()
Return the
BootstrapContext that was closed. |
getTimestampgetSource, toStringpublic BootstrapContext getBootstrapContext()
BootstrapContext that was closed.public ConfigurableApplicationContext getApplicationContext()