lifecyclephase.java
来自「提供ESB 应用mule源代码 提供ESB 应用mule源代码」· Java 代码 · 共 65 行
JAVA
65 行
/* * $Id: LifecyclePhase.java 12422 2008-07-29 19:28:48Z tcarlson $ * -------------------------------------------------------------------------------------- * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com * * The software in this package is published under the terms of the CPAL v1.0 * license, a copy of which has been included with this distribution in the * LICENSE.txt file. */package org.mule.api.lifecycle;import org.mule.api.MuleContext;import org.mule.api.MuleException;import org.mule.lifecycle.LifecycleObject;import java.util.Collection;import java.util.Set;/** * Encapsulates the notion of a lifecycle phase i.e. 'stop'. Implementations of this class are responsible * for invoking the lifecycle phase on a set of objects and also for knowing which phases can preceed and go * after it. This objects are configurable so that lifecycles can be customised. * * Note that users wouldn't normally customise the lifecycle of the server. */public interface LifecyclePhase{ String ALL_PHASES = "all"; void applyLifecycle(Collection objects, String currentPhase) throws MuleException; void addOrderedLifecycleObject(LifecycleObject lco); void removeOrderedLifecycleObject(LifecycleObject lco); Set getOrderedLifecycleObjects(); void setOrderedLifecycleObjects(Set orderedLifecycleObjects); Class[] getIgnoredObjectTypes(); void setIgnoredObjectTypes(Class[] ignorredObjectTypes); Class getLifecycleClass(); void setLifecycleClass(Class lifecycleClass); String getName(); Set getSupportedPhases(); void setSupportedPhases(Set supportedPhases); void registerSupportedPhase(String phase); boolean isPhaseSupported(String phase); void applyLifecycle(Object o) throws LifecycleException; String getOppositeLifecyclePhase();}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?