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