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
public class ContextStartedEvent extends ApplicationContextEvent
Event raised when anApplicationContext
gets started.- Since:
- 2.5
- Author:
- Mark Fisher, Juergen Hoeller
- See Also:
ContextStoppedEvent
, Serialized Form
Field Summary
Fields inherited from class java.util.EventObject
source
Constructor Summary
Constructors Constructor Description ContextStartedEvent(ApplicationContext source)
Create a new ContextStartedEvent.
Method Summary
Methods inherited from class org.springframework.context.event.ApplicationContextEvent
getApplicationContext
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource, toString
Constructor Detail
ContextStartedEvent
public ContextStartedEvent(ApplicationContext source)
Create a new ContextStartedEvent.- Parameters:
source
- theApplicationContext
that has been started (must not benull
)