Class ContextStartedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.context.event.ApplicationContextEvent
org.springframework.context.event.ContextStartedEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ContextRestartedEvent
Event raised when an
ApplicationContext gets started.- Since:
- 2.5
- Author:
- Mark Fisher, Juergen Hoeller
- See Also:
-
Field Summary
Fields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionCreate a newContextStartedEvent. -
Method Summary
Methods inherited from class ApplicationContextEvent
getApplicationContext, getSourceMethods inherited from class ApplicationEvent
getTimestampMethods inherited from class EventObject
toString
-
Constructor Details
-
ContextStartedEvent
Create a newContextStartedEvent.- Parameters:
source- theApplicationContextthat has been started (must not benull)
-