public class SynapseXMLConfigurationFactory extends java.lang.Object implements ConfigurationFactory
Constructor and Description |
---|
SynapseXMLConfigurationFactory() |
Modifier and Type | Method and Description |
---|---|
static API |
defineAPI(SynapseConfiguration config,
org.apache.axiom.om.OMElement elem) |
static API |
defineAPI(SynapseConfiguration config,
org.apache.axiom.om.OMElement elem,
java.util.Properties properties) |
static API |
defineAPI(SynapseConfiguration config,
org.apache.axiom.om.OMElement elem,
java.util.Properties properties,
boolean reOrder)
Add api with the option of re-ordering the api collection based on the context
|
static Endpoint |
defineEndpoint(SynapseConfiguration config,
org.apache.axiom.om.OMElement ele,
java.util.Properties properties) |
static Template |
defineEndpointTemplate(SynapseConfiguration config,
org.apache.axiom.om.OMElement elem,
java.util.Properties properties) |
static Entry |
defineEntry(SynapseConfiguration config,
org.apache.axiom.om.OMElement elem,
java.util.Properties properties) |
static Entry |
defineEntry(SynapseConfiguration config,
org.apache.axiom.om.OMElement elem,
java.util.Properties properties,
Library library) |
static SynapseEventSource |
defineEventSource(SynapseConfiguration config,
org.apache.axiom.om.OMElement elem,
java.util.Properties properties) |
static org.apache.synapse.commons.executors.PriorityExecutor |
defineExecutor(SynapseConfiguration config,
org.apache.axiom.om.OMElement elem,
java.util.Properties properties) |
static SynapseImport |
defineImport(SynapseConfiguration config,
org.apache.axiom.om.OMElement elt,
java.util.Properties properties) |
static InboundEndpoint |
defineInboundEndpoint(SynapseConfiguration config,
org.apache.axiom.om.OMElement elem,
java.util.Properties properties) |
static Mediator |
defineMediatorTemplate(SynapseConfiguration config,
org.apache.axiom.om.OMElement ele,
java.util.Properties properties) |
static MessageProcessor |
defineMessageProcessor(SynapseConfiguration config,
org.apache.axiom.om.OMElement elem,
java.util.Properties properties) |
static MessageStore |
defineMessageStore(SynapseConfiguration config,
org.apache.axiom.om.OMElement elem,
java.util.Properties properties) |
static ProxyService |
defineProxy(SynapseConfiguration config,
org.apache.axiom.om.OMElement elem,
java.util.Properties properties) |
static Registry |
defineRegistry(SynapseConfiguration config,
org.apache.axiom.om.OMElement elem,
java.util.Properties properties) |
static Mediator |
defineSequence(SynapseConfiguration config,
org.apache.axiom.om.OMElement ele,
java.util.Properties properties) |
static Startup |
defineStartup(SynapseConfiguration config,
org.apache.axiom.om.OMElement elem,
java.util.Properties properties) |
static org.apache.synapse.task.TaskManager |
defineTaskManager(SynapseConfiguration config,
org.apache.axiom.om.OMElement elem,
java.util.Properties properties) |
static void |
defineTemplate(SynapseConfiguration config,
org.apache.axiom.om.OMElement elem,
java.util.Properties properties) |
SynapseConfiguration |
getConfiguration(org.apache.axiom.om.OMElement definitions,
java.util.Properties properties)
Get (basically builds) the configuration of Synapse built up from
an OMElement using the defined factory
|
java.lang.Class |
getSerializerClass()
Get the class which serializes the specified element
|
javax.xml.namespace.QName |
getTagQName()
Get the tag QName of the element piece that will be
build using the factory
|
static void |
reOrderAPIs(SynapseConfiguration config)
Re-order the apis based on the context
|
public SynapseConfiguration getConfiguration(org.apache.axiom.om.OMElement definitions, java.util.Properties properties)
ConfigurationFactory
getConfiguration
in interface ConfigurationFactory
definitions
- OMElement describing the configuration to be buildpublic static Registry defineRegistry(SynapseConfiguration config, org.apache.axiom.om.OMElement elem, java.util.Properties properties)
public static Startup defineStartup(SynapseConfiguration config, org.apache.axiom.om.OMElement elem, java.util.Properties properties)
public static org.apache.synapse.task.TaskManager defineTaskManager(SynapseConfiguration config, org.apache.axiom.om.OMElement elem, java.util.Properties properties)
public static ProxyService defineProxy(SynapseConfiguration config, org.apache.axiom.om.OMElement elem, java.util.Properties properties)
public static Entry defineEntry(SynapseConfiguration config, org.apache.axiom.om.OMElement elem, java.util.Properties properties)
public static Entry defineEntry(SynapseConfiguration config, org.apache.axiom.om.OMElement elem, java.util.Properties properties, Library library)
public static Mediator defineSequence(SynapseConfiguration config, org.apache.axiom.om.OMElement ele, java.util.Properties properties)
public static Mediator defineMediatorTemplate(SynapseConfiguration config, org.apache.axiom.om.OMElement ele, java.util.Properties properties)
public static Endpoint defineEndpoint(SynapseConfiguration config, org.apache.axiom.om.OMElement ele, java.util.Properties properties)
public static SynapseEventSource defineEventSource(SynapseConfiguration config, org.apache.axiom.om.OMElement elem, java.util.Properties properties)
public static org.apache.synapse.commons.executors.PriorityExecutor defineExecutor(SynapseConfiguration config, org.apache.axiom.om.OMElement elem, java.util.Properties properties)
public static MessageStore defineMessageStore(SynapseConfiguration config, org.apache.axiom.om.OMElement elem, java.util.Properties properties)
public static MessageProcessor defineMessageProcessor(SynapseConfiguration config, org.apache.axiom.om.OMElement elem, java.util.Properties properties)
public static SynapseImport defineImport(SynapseConfiguration config, org.apache.axiom.om.OMElement elt, java.util.Properties properties)
public static Template defineEndpointTemplate(SynapseConfiguration config, org.apache.axiom.om.OMElement elem, java.util.Properties properties)
public static void defineTemplate(SynapseConfiguration config, org.apache.axiom.om.OMElement elem, java.util.Properties properties)
public static API defineAPI(SynapseConfiguration config, org.apache.axiom.om.OMElement elem)
public static API defineAPI(SynapseConfiguration config, org.apache.axiom.om.OMElement elem, java.util.Properties properties)
public static API defineAPI(SynapseConfiguration config, org.apache.axiom.om.OMElement elem, java.util.Properties properties, boolean reOrder)
config
- SynapseConfigurationelem
- OMElement elementproperties
- PropertiesreOrder
- reorder the deployment order based on the contextpublic static void reOrderAPIs(SynapseConfiguration config)
config
- SynapseConfigurationpublic static InboundEndpoint defineInboundEndpoint(SynapseConfiguration config, org.apache.axiom.om.OMElement elem, java.util.Properties properties)
public javax.xml.namespace.QName getTagQName()
ConfigurationFactory
getTagQName
in interface ConfigurationFactory
public java.lang.Class getSerializerClass()
ConfigurationFactory
getSerializerClass
in interface ConfigurationFactory
Copyright © 2005-2021 Apache Software Foundation. All Rights Reserved.