LifecycleProcessor (Spring Framework 3.2.1.RELEASE API)
Date: 2013-01-24

org.springframework.context

## Interface LifecycleProcessor

- All Superinterfaces:
    Lifecycle
  All Known Implementing Classes:
    DefaultLifecycleProcessor

      public interface LifecycleProcessor
      extends Lifecycle

  Strategy interface for processing Lifecycle beans within the ApplicationContext.
  Since:
    3.0
  Author:
    Mark Fisher, Juergen Hoeller

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onClose()` Notification of context close phase, e.g.
    `void` | `onRefresh()` Notification of context refresh, e.g.

    - ### Methods inherited from interface org.springframework.context.Lifecycle

      `isRunning, start, stop`

- - ### Method Detail

    - #### 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.