接口 LifecycleProcessor

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

public interface LifecycleProcessor extends Lifecycle
Strategy interface for processing Lifecycle beans within the ApplicationContext.
从以下版本开始:
4.0
作者:
Mark Fisher, Juergen Hoeller
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    Notification of context close phase, e.g. for auto-stopping components.
    void
    Notification of context refresh, e.g. for auto-starting components.

    从接口继承的方法 cn.taketoday.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.