org.apache.synapse.config
Class SynapseConfigurationBuilder
java.lang.Object
org.apache.synapse.config.SynapseConfigurationBuilder
public class SynapseConfigurationBuilder
- extends Object
Builds a Synapse Configuration model with a given input
(e.g. XML, programmatic creation, default etc)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SynapseConfigurationBuilder
public SynapseConfigurationBuilder()
getDefaultConfiguration
public static SynapseConfiguration getDefaultConfiguration()
- Return the default Synapse Configuration
- Returns:
- the default configuration to be used
getConfiguration
public static SynapseConfiguration getConfiguration(String configFile,
Properties properties)
- Build a Synapse configuration from a given XML configuration file
- Parameters:
configFile
- Path to the Synapse configuration file or directoryproperties
- bag of properties to be passed into the builder
- Returns:
- the Synapse configuration model
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.