public abstract class ApplicationContextEvent extends ApplicationEvent
ApplicationContext.source| 构造器和说明 |
|---|
ApplicationContextEvent(ApplicationContext source)
Create a new ContextStartedEvent.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ApplicationContext |
getApplicationContext()
Get the
ApplicationContext that the event was raised for. |
getTimestampgetSource, toStringpublic ApplicationContextEvent(ApplicationContext source)
source - the ApplicationContext that the event is raised for
(must not be null)public final ApplicationContext getApplicationContext()
ApplicationContext that the event was raised for.