## 类的使用
org.springframework.context.event.ApplicationContextEvent

- 使用ApplicationContextEvent的程序包
  程序包 | 说明
  --- | ---
  org.springframework.context.event | Support classes for application events, like standard context events.

- - ### org.springframework.context.event中ApplicationContextEvent的使用

    org.springframework.context.event中ApplicationContextEvent的子类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `ContextClosedEvent` Event raised when an `ApplicationContext` gets closed.
    `class` | `ContextRefreshedEvent` Event raised when an `ApplicationContext` gets initialized or refreshed.
    `class` | `ContextStartedEvent` Event raised when an `ApplicationContext` gets started.
    `class` | `ContextStoppedEvent` Event raised when an `ApplicationContext` gets stopped.