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