类 ContextRefreshedEvent
- java.lang.Object
- java.util.EventObject
- org.springframework.context.ApplicationEvent
- org.springframework.context.event.ApplicationContextEvent
- org.springframework.context.event.ContextRefreshedEvent
- 所有已实现的接口:
Serializable
public class ContextRefreshedEvent extends ApplicationContextEvent
Event raised when anApplicationContext
gets initialized or refreshed.- 从以下版本开始:
- 04.03.2003
- 作者:
- Juergen Hoeller
- 另请参阅:
ContextClosedEvent
, 序列化表格
字段概要
从类继承的字段 java.util.EventObject
source
构造器概要
构造器 构造器 说明 ContextRefreshedEvent(ApplicationContext source)
Create a new ContextRefreshedEvent.
方法概要
从类继承的方法 org.springframework.context.event.ApplicationContextEvent
getApplicationContext
从类继承的方法 org.springframework.context.ApplicationEvent
getTimestamp
从类继承的方法 java.util.EventObject
getSource, toString
构造器详细资料
ContextRefreshedEvent
public ContextRefreshedEvent(ApplicationContext source)
Create a new ContextRefreshedEvent.- 参数:
source
- theApplicationContext
that has been initialized or refreshed (must not benull
)