Class BootstrapContextClosedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.boot.BootstrapContextClosedEvent
- All Implemented Interfaces:
- Serializable
public class BootstrapContextClosedEvent
extends org.springframework.context.ApplicationEvent
ApplicationEvent published by a BootstrapContext when it's closed.- Since:
- 2.4.0
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Method SummaryModifier and TypeMethodDescriptionorg.springframework.context.ConfigurableApplicationContextReturn the prepared application context.Return theBootstrapContextthat was closed.Methods inherited from class org.springframework.context.ApplicationEventgetTimestampMethods inherited from class java.util.EventObjectgetSource, toString
- 
Method Details- 
getBootstrapContextReturn theBootstrapContextthat was closed.- Returns:
- the bootstrap context
 
- 
getApplicationContextpublic org.springframework.context.ConfigurableApplicationContext getApplicationContext()Return the prepared application context.- Returns:
- the application context
 
 
-