startable.java

来自「提供ESB 应用mule源代码 提供ESB 应用mule源代码」· Java 代码 · 共 31 行

JAVA
31
字号
/* * $Id: Startable.java 13006 2008-10-09 20:32:32Z dfeist $ * -------------------------------------------------------------------------------------- * 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.MuleException;/** * <code>Startable</code> provides an object with a {@link #start()} method * which gets called when the Mule instance gets started.  This is mostly used by * infrastructure components, but can also be implemented by service objects. * * This lifecycle interface should always be implemented with its opposite lifecycle interface {@link org.mule.api.lifecycle.Stoppable}. * * @see org.mule.api.lifecycle.Stoppable * */public interface Startable{    String PHASE_NAME = "start";    void start() throws MuleException;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?