Class ApplicationContextEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.context.event.ApplicationContextEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- ContextClosedEvent,- ContextRefreshedEvent,- ContextStartedEvent,- ContextStoppedEvent
Base class for events raised for an 
ApplicationContext.- Since:
- 2.5
- Author:
- Juergen Hoeller
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionCreate a newApplicationContextEvent.
- 
Method SummaryModifier and TypeMethodDescriptionfinal ApplicationContextGet theApplicationContextthat the event was raised for.Methods inherited from class org.springframework.context.ApplicationEventgetTimestampMethods inherited from class java.util.EventObjectgetSource, toString
- 
Constructor Details- 
ApplicationContextEventCreate a newApplicationContextEvent.- Parameters:
- source- the- ApplicationContextthat the event is raised for (must not be- null)
 
 
- 
- 
Method Details- 
getApplicationContextGet theApplicationContextthat the event was raised for.
 
-