View Javadoc

1   /*
2    * $Id: ResumePhase.java 20321 2010-11-24 15:21:24Z dfeist $
3    * --------------------------------------------------------------------------------------
4    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
5    *
6    * The software in this package is published under the terms of the CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  package org.mule.service;
11  
12  import org.mule.lifecycle.phases.DefaultLifecyclePhase;
13  
14  /**
15   * Resume phase happens only alfter a pause phase.  Resume is a reverse lifecycle phase since it reverts the lifecycle state
16   * to the state previous to the lifecycle pair invocation. i.e. if a services was started, then paused, then resumed, its lifecycle state
17   * is reverted to 'start' not 'resume'.
18   */
19  public class ResumePhase extends DefaultLifecyclePhase
20  {
21      public ResumePhase()
22      {
23          super(Resumable.PHASE_NAME, Resumable.class, Pausable.PHASE_NAME);
24      }
25  }