📄 configurationbuilder.java
字号:
/* * $Id: ConfigurationBuilder.java 10489 2008-01-23 17:53:38Z 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.config;import org.mule.api.MuleContext;/** * A <code>ConfigurationBuilder</code> is used to configure a Mule instance, * represented by a MuleContext instance. Multiple ConfigurationBuilder's can be used * to configure a single mule instance with each ConfigurationBuilder doing one of * more of the following: * <li> Creation of mule runtime artifacts (endpoint's, connector's, service's, * transformer's) which are then registered with the <code>Registy</code * <li> Creation and registration of SecurityManager / TransactionManager / TransactionManagerFactory / QueueManager * and ThreadingProfile's. Unlike the runtime artifacts mule only uses a single instance of each of these and so if * multiple configuration builder create and register these artifacts only one will be used. * <li> Configuration of existing Mule configuration related artifacts such as <code>MuleConfiguration</code> and * <code>ServerNotificationManager</code> * <br/><br/> * Which of the above takes place, depends on what the configuration source contains and the ConfgurationBuilder implementation is used. */public interface ConfigurationBuilder{ /** * Will configure a MuleContext based on the configuration provided * * @param muleContext * @throws ConfigurationException */ void configure(MuleContext muleContext) throws ConfigurationException; /** * Indicate whether this ConfigurationBulder has been configured yet * * @return <code>true</code> if this ConfigurationBulder has been configured. */ boolean isConfigured();}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -