org.apache.synapse.config.xml
Class MultiXMLConfigurationBuilder

java.lang.Object
  extended by org.apache.synapse.config.xml.MultiXMLConfigurationBuilder

public class MultiXMLConfigurationBuilder
extends Object

This optional configuration builder creates the Synapse configuration by processing a specified file hierarchy. If the root of the specified file hierarchy is CONFIG_HOME, then the following directories are expected to be in CONFIG_HOME.

Each of these directories will house a set of XML files. Each file will define exactly one configuration item (eg: a proxy service, an endpoint, a sequence).

In addition to the directories mentioned above one can have the following file in CONFIG_HOME


Field Summary
static String ENDPOINTS_DIR
           
static String EVENTS_DIR
           
static String EXECUTORS_DIR
           
static String LOCAL_ENTRY_DIR
           
static String MESSAGE_PROCESSOR_DIR
           
static String MESSAGE_STORE_DIR
           
static String PROXY_SERVICES_DIR
           
static String REGISTRY_FILE
           
static String REST_API_DIR
           
static String SEPARATE_REGISTRY_DEFINITION
           
static String SEQUENCES_DIR
           
static String TASKS_DIR
           
static String TEMPLATES_DIR
           
 
Constructor Summary
MultiXMLConfigurationBuilder()
           
 
Method Summary
static SynapseConfiguration getConfiguration(String root, Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROXY_SERVICES_DIR

public static final String PROXY_SERVICES_DIR
See Also:
Constant Field Values

SEQUENCES_DIR

public static final String SEQUENCES_DIR
See Also:
Constant Field Values

TEMPLATES_DIR

public static final String TEMPLATES_DIR
See Also:
Constant Field Values

ENDPOINTS_DIR

public static final String ENDPOINTS_DIR
See Also:
Constant Field Values

LOCAL_ENTRY_DIR

public static final String LOCAL_ENTRY_DIR
See Also:
Constant Field Values

TASKS_DIR

public static final String TASKS_DIR
See Also:
Constant Field Values

EVENTS_DIR

public static final String EVENTS_DIR
See Also:
Constant Field Values

EXECUTORS_DIR

public static final String EXECUTORS_DIR
See Also:
Constant Field Values

MESSAGE_STORE_DIR

public static final String MESSAGE_STORE_DIR
See Also:
Constant Field Values

MESSAGE_PROCESSOR_DIR

public static final String MESSAGE_PROCESSOR_DIR
See Also:
Constant Field Values

REST_API_DIR

public static final String REST_API_DIR
See Also:
Constant Field Values

REGISTRY_FILE

public static final String REGISTRY_FILE
See Also:
Constant Field Values

SEPARATE_REGISTRY_DEFINITION

public static final String SEPARATE_REGISTRY_DEFINITION
See Also:
Constant Field Values
Constructor Detail

MultiXMLConfigurationBuilder

public MultiXMLConfigurationBuilder()
Method Detail

getConfiguration

public static SynapseConfiguration getConfiguration(String root,
                                                    Properties properties)


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.