当前页面:
在线文档首页 >
Spring Framework 2.0.5 API 文档英文版
ContextRefreshedEvent (Spring Framework API 2.0) - Spring Framework 2.0.5 API 文档英文版
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.