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
is initialized or refreshed.
- Since:
- 04.03.2003
- Author:
- Juergen Hoeller
- See Also:
- Serialized Form
ContextRefreshedEvent
public ContextRefreshedEvent(ApplicationContext source)
- Create a new instance of the
ContextRefreshedEvent
class.
- Parameters:
source
- the ApplicationContext
that has been initialized or refreshed (must not be null
)
getApplicationContext
public ApplicationContext getApplicationContext()
- Gets the
ApplicationContext
that has been initialized or refreshed.
- Returns:
- the
ApplicationContext
that has been initialized or refreshed (never null
)
Copyright © 2002-2007 The Spring Framework.