01: /*
02: * $Id: ContainerManagedLifecyclePhase.java 10489 2008-01-23 17:53:38Z dfeist $
03: * --------------------------------------------------------------------------------------
04: * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
05: *
06: * The software in this package is published under the terms of the CPAL v1.0
07: * license, a copy of which has been included with this distribution in the
08: * LICENSE.txt file.
09: */
10: package org.mule.lifecycle;
11:
12: import org.mule.api.MuleException;
13: import org.mule.api.MuleContext;
14:
15: /**
16: * A container-managed lifecycle phase is called by the container itself. This class acts as a marker to enable
17: * tracking of phases even if Mule does not initiate the phase
18: */
19: public class ContainerManagedLifecyclePhase extends
20: DefaultLifecyclePhase {
21: public ContainerManagedLifecyclePhase(String name,
22: Class lifecycleClass, String oppositePhaseName) {
23: super (name, lifecycleClass, oppositePhaseName);
24: }
25:
26: //@java.lang.Override
27: public void fireLifecycle(MuleContext muleContext,
28: String currentPhase) throws MuleException {
29: //The container manages this lifecycle
30: return;
31: }
32: }
|