Class ContextRestartedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.context.event.ApplicationContextEvent
org.springframework.context.event.ContextStartedEvent
org.springframework.context.event.ContextRestartedEvent
- All Implemented Interfaces:
Serializable
Event raised when an
ApplicationContext gets restarted.
Note that ContextRestartedEvent is a specialization of
ContextStartedEvent.
- Since:
- 7.0
- Author:
- Sam Brannen
- See Also:
-
Field Summary
Fields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionCreate a newContextRestartedEvent. -
Method Summary
Methods inherited from class ApplicationContextEvent
getApplicationContext, getSourceMethods inherited from class ApplicationEvent
getTimestampMethods inherited from class EventObject
toString
-
Constructor Details
-
ContextRestartedEvent
Create a newContextRestartedEvent.- Parameters:
source- theApplicationContextthat has been restarted (must not benull)
-