org.mule.api.lifecycle
Interface LifecyclePair

All Known Implementing Classes:
DefaultLifecyclePair

public interface LifecyclePair

A coupling of two opposite LifecyclePhase instances such as initialise and dispose or start and stop Mule treats lifecycle in pairs in order to return system state to a level consistency when an opposite lifecycle method is called.

Since:
3.0

Method Summary
 LifecyclePhase getBegin()
          The beginning lifecycle phase in the pair i.e.
 LifecyclePhase getEnd()
          The end lifecycle phase in the pair i.e.
 

Method Detail

getBegin

LifecyclePhase getBegin()
The beginning lifecycle phase in the pair i.e. initialise or start

Returns:
The beginning lifecycle phase in the pair

getEnd

LifecyclePhase getEnd()
The end lifecycle phase in the pair i.e. dispose or stop

Returns:
The end lifecycle phase in the pair


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.