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