public class ProxyServiceStore extends AbstractStore<org.apache.synapse.core.axis2.ProxyService>
configPath, log, registryStore, serializer
Constructor and Description |
---|
ProxyServiceStore(String configPath,
org.wso2.carbon.registry.core.session.UserRegistry registry,
String configName) |
Modifier and Type | Method and Description |
---|---|
protected void |
deleteFile(String fileName,
org.apache.synapse.config.SynapseConfiguration synapseConfiguration)
Delete the specified file from the persistence store.
|
protected String |
getFileName(org.apache.synapse.core.axis2.ProxyService proxy)
Inspect the given object and find the file name to which it should be
serialized to
|
protected org.apache.synapse.core.axis2.ProxyService |
getObjectToPersist(String name,
org.apache.synapse.config.SynapseConfiguration config)
Find the specified object from the SynaspeConfiguration to be saved to
the persistence store
|
protected org.apache.axiom.om.OMElement |
saveToFile(org.apache.synapse.core.axis2.ProxyService proxy,
org.apache.synapse.config.SynapseConfiguration synapseConfiguration)
Serialize and save the given object to the local file system
|
protected org.apache.axiom.om.OMElement |
serialize(org.apache.synapse.core.axis2.ProxyService proxy)
Serialize the given object into XML
|
delete, deleteFromRegistry, deleteItemFromRegistry, handleException, save, saveItemToRegistry, saveToRegistry
protected String getFileName(org.apache.synapse.core.axis2.ProxyService proxy)
AbstractStore
getFileName
in class AbstractStore<org.apache.synapse.core.axis2.ProxyService>
proxy
- The object to be inspectedprotected org.apache.axiom.om.OMElement saveToFile(org.apache.synapse.core.axis2.ProxyService proxy, org.apache.synapse.config.SynapseConfiguration synapseConfiguration)
AbstractStore
saveToFile
in class AbstractStore<org.apache.synapse.core.axis2.ProxyService>
proxy
- Object to be savedsynapseConfiguration
- synapse configurationprotected org.apache.axiom.om.OMElement serialize(org.apache.synapse.core.axis2.ProxyService proxy)
AbstractStore
serialize
in class AbstractStore<org.apache.synapse.core.axis2.ProxyService>
proxy
- The object to be serializedprotected void deleteFile(String fileName, org.apache.synapse.config.SynapseConfiguration synapseConfiguration)
AbstractStore
deleteFile
in class AbstractStore<org.apache.synapse.core.axis2.ProxyService>
fileName
- Name of the file to be deletedsynapseConfiguration
- synapse configurationprotected org.apache.synapse.core.axis2.ProxyService getObjectToPersist(String name, org.apache.synapse.config.SynapseConfiguration config)
AbstractStore
getObjectToPersist
in class AbstractStore<org.apache.synapse.core.axis2.ProxyService>
name
- Name or unique ID of the objectconfig
- Current SynapseConfigurationCopyright © 2020 WSO2. All rights reserved.