org.springframework.context.event
Class ContextClosedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.context.event.ContextClosedEvent
- All Implemented Interfaces:
- Serializable
public class ContextClosedEvent
- extends ApplicationEvent
Event raised when an ApplicationContext
gets closed.
- Since:
- 12.08.2003
- Author:
- Juergen Hoeller
- See Also:
- Serialized Form
ContextClosedEvent
public ContextClosedEvent(ApplicationContext source)
- Create a new
ContextRefreshedEvent
.
- Parameters:
source
- the ApplicationContext
that has been closed
(must not be null
)
getApplicationContext
public ApplicationContext getApplicationContext()
- Get the
ApplicationContext
that has been closed.
Copyright © 2002-2007 The Spring Framework.