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