org.springframework.context

## 接口 LifecycleProcessor

- 所有超级接口:
    Lifecycle
  所有已知实现类:
    DefaultLifecycleProcessor

      public interface LifecycleProcessor
      extends Lifecycle

  Strategy interface for processing Lifecycle beans within the ApplicationContext.
  从以下版本开始:
    3.0
  作者:
    Mark Fisher, Juergen Hoeller

- - ### 方法概要

    所有方法 实例方法 抽象方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | `onClose()` Notification of context close phase, e.g. for auto-stopping components.
    `void` | `onRefresh()` Notification of context refresh, e.g. for auto-starting components.

    - ### 从接口继承的方法 org.springframework.context.Lifecycle

      `isRunning, start, stop`

- - ### 方法详细资料

    - #### onRefresh

          void onRefresh()

      Notification of context refresh, e.g. for auto-starting components.

    - #### onClose

          void onClose()

      Notification of context close phase, e.g. for auto-stopping components.