public class MultiXMLConfigurationSerializer extends Object
Constructor and Description |
---|
MultiXMLConfigurationSerializer(String directoryPath) |
Modifier and Type | Method and Description |
---|---|
boolean |
isWritable() |
void |
serialize(SynapseConfiguration synapseConfig)
Serializes the given SynapseConfiguration to the file system.
|
org.apache.axiom.om.OMElement |
serializeEndpoint(Endpoint epr,
SynapseConfiguration synapseConfig,
org.apache.axiom.om.OMElement parent) |
org.apache.axiom.om.OMElement |
serializeEventSource(SynapseEventSource source,
SynapseConfiguration synapseConfig,
org.apache.axiom.om.OMElement parent) |
org.apache.axiom.om.OMElement |
serializeExecutor(PriorityExecutor source,
SynapseConfiguration synapseConfig,
org.apache.axiom.om.OMElement parent) |
org.apache.axiom.om.OMElement |
serializeLocalEntry(Object o,
SynapseConfiguration synapseConfig,
org.apache.axiom.om.OMElement parent) |
org.apache.axiom.om.OMElement |
serializeMessageProcessor(MessageProcessor messageProcessor,
SynapseConfiguration synapseConfiguration,
org.apache.axiom.om.OMElement parent) |
org.apache.axiom.om.OMElement |
serializeMessageStore(MessageStore messagestore,
SynapseConfiguration synConfig,
org.apache.axiom.om.OMElement parent) |
org.apache.axiom.om.OMElement |
serializeProxy(ProxyService service,
SynapseConfiguration synapseConfig,
org.apache.axiom.om.OMElement parent) |
org.apache.axiom.om.OMElement |
serializeSequence(SequenceMediator seq,
SynapseConfiguration synapseConfig,
org.apache.axiom.om.OMElement parent) |
org.apache.axiom.om.OMElement |
serializeSynapseRegistry(Registry registry,
SynapseConfiguration synapseConfig,
org.apache.axiom.om.OMElement parent) |
void |
serializeSynapseXML(SynapseConfiguration synapseConfig)
Serialize only the elements defined in the top level synapse.xml file back to the
synapse.xml file.
|
org.apache.axiom.om.OMElement |
serializeTask(Startup task,
SynapseConfiguration synapseConfig,
org.apache.axiom.om.OMElement parent) |
org.apache.axiom.om.OMElement |
serializeTemplate(TemplateMediator template,
SynapseConfiguration synapseConfig,
org.apache.axiom.om.OMElement parent) |
org.apache.axiom.om.OMElement |
serializeTemplate(Template template,
SynapseConfiguration synapseConfig,
org.apache.axiom.om.OMElement parent) |
public MultiXMLConfigurationSerializer(String directoryPath)
public void serialize(SynapseConfiguration synapseConfig)
synapseConfig
- configuration to be serializedpublic boolean isWritable()
public void serializeSynapseXML(SynapseConfiguration synapseConfig) throws Exception
synapseConfig
- Current Synapse configurationException
- on file I/O errorpublic org.apache.axiom.om.OMElement serializeSynapseRegistry(Registry registry, SynapseConfiguration synapseConfig, org.apache.axiom.om.OMElement parent) throws Exception
Exception
public org.apache.axiom.om.OMElement serializeProxy(ProxyService service, SynapseConfiguration synapseConfig, org.apache.axiom.om.OMElement parent) throws Exception
Exception
public org.apache.axiom.om.OMElement serializeEventSource(SynapseEventSource source, SynapseConfiguration synapseConfig, org.apache.axiom.om.OMElement parent) throws Exception
Exception
public org.apache.axiom.om.OMElement serializeTask(Startup task, SynapseConfiguration synapseConfig, org.apache.axiom.om.OMElement parent) throws Exception
Exception
public org.apache.axiom.om.OMElement serializeSequence(SequenceMediator seq, SynapseConfiguration synapseConfig, org.apache.axiom.om.OMElement parent) throws Exception
Exception
public org.apache.axiom.om.OMElement serializeTemplate(TemplateMediator template, SynapseConfiguration synapseConfig, org.apache.axiom.om.OMElement parent) throws Exception
Exception
public org.apache.axiom.om.OMElement serializeTemplate(Template template, SynapseConfiguration synapseConfig, org.apache.axiom.om.OMElement parent) throws Exception
Exception
public org.apache.axiom.om.OMElement serializeEndpoint(Endpoint epr, SynapseConfiguration synapseConfig, org.apache.axiom.om.OMElement parent) throws Exception
Exception
public org.apache.axiom.om.OMElement serializeLocalEntry(Object o, SynapseConfiguration synapseConfig, org.apache.axiom.om.OMElement parent) throws Exception
Exception
public org.apache.axiom.om.OMElement serializeExecutor(PriorityExecutor source, SynapseConfiguration synapseConfig, org.apache.axiom.om.OMElement parent) throws Exception
Exception
public org.apache.axiom.om.OMElement serializeMessageStore(MessageStore messagestore, SynapseConfiguration synConfig, org.apache.axiom.om.OMElement parent) throws Exception
Exception
public org.apache.axiom.om.OMElement serializeMessageProcessor(MessageProcessor messageProcessor, SynapseConfiguration synapseConfiguration, org.apache.axiom.om.OMElement parent) throws Exception
Exception
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.