Class ContextClosedEvent
- java.lang.Object
- java.util.EventObject
- org.springframework.context.ApplicationEvent
- org.springframework.context.event.ApplicationContextEvent
- org.springframework.context.event.ContextClosedEvent
- All Implemented Interfaces:
Serializable
public class ContextClosedEvent extends ApplicationContextEvent
Event raised when anApplicationContext
gets closed.- Since:
- 12.08.2003
- Author:
- Juergen Hoeller
- See Also:
ContextRefreshedEvent
, Serialized Form
Field Summary
Fields inherited from class java.util.EventObject
source
Constructor Summary
Constructors Constructor Description ContextClosedEvent(ApplicationContext source)
Creates a new ContextClosedEvent.
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
ContextClosedEvent
public ContextClosedEvent(ApplicationContext source)
Creates a new ContextClosedEvent.- Parameters:
source
- theApplicationContext
that has been closed (must not benull
)