⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 model.java

📁 提供ESB 应用mule源代码 提供ESB 应用mule源代码
💻 JAVA
字号:
/* * $Id: Model.java 11447 2008-03-20 12:03:44Z 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.model;import org.mule.api.NamedObject;import org.mule.api.component.LifecycleAdapterFactory;import org.mule.api.context.MuleContextAware;import org.mule.api.lifecycle.Lifecycle;import java.beans.ExceptionListener;/** * The <code>Model</code> encapsulates and manages the runtime behaviour of a * Mule Server instance. It is responsible for maintaining the UMOs instances and * their configuration. */public interface Model extends Lifecycle, MuleContextAware, NamedObject{    /**     * Returns the model type name. This is a friendly identifier that is used to     * look up the SPI class for the model     *     * @return the model type     */    String getType();    /**     * The entry point resolver is used to determine the method to be called on a     * service when an event is received for it.     *     * @return Returns the entryPointResolver.     */    EntryPointResolverSet getEntryPointResolverSet();    /**     * This will be used to build entry points on the components registered with the     * model.     *     * @param entryPointResolver The entryPointResolver to set. This will be used to     *                           build entry points on the components registered with the model.     */    void setEntryPointResolverSet(EntryPointResolverSet entryPointResolver);    /**     * The lifecycle adapter is used by the model to translate Mule lifecycle event     * to events that UMO components registered with the model understand. The     * <code>LifecycleAdapterFactory</code> is used by the model to instanciate     * LifecycleAdapters.     *     * @return Returns the lifecycleAdapterFactory used by this Model.     * @see LifecycleAdapterFactory     * @see org.mule.api.component.LifecycleAdapter     */    LifecycleAdapterFactory getLifecycleAdapterFactory();    /**     * Sets the lifecycleAdapterFactory on the model.     *     * @param lifecycleAdapterFactory The lifecycleAdapterFactory to set on this     *                                model.     * @see LifecycleAdapterFactory     * @see org.mule.api.component.LifecycleAdapter     */    void setLifecycleAdapterFactory(LifecycleAdapterFactory lifecycleAdapterFactory);    /**     * The exception strategy to use by components managed by the model. The     * exception strategy is used when an exception occurs while processing the     * current event for a service. A service can define it's own exception     * strategy, but if it doesn't this implmentation will be used.     *     * @return the default exception strategy for this model.     * @see ExceptionListener     */    ExceptionListener getExceptionListener();    /**     * The exception strategy to use by components managed by the model. The     * exception strategy is used when an exception occurs while processing the     * current event for a service. A service can define it's own exception     * strategy, but if it doesn't this implmentation will be used.     *     * @param listener the default exception strategy for this model.     * @see ExceptionListener     */    void setExceptionListener(ExceptionListener listener);}

⌨️ 快捷键说明

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