public class ExecutorStore extends AbstractStore<org.apache.synapse.commons.executors.PriorityExecutor>
configPath, log, serializer| Constructor and Description |
|---|
ExecutorStore(String configPath,
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.commons.executors.PriorityExecutor executor)
Inspect the given object and find the file name to which it should be
serialized to
|
protected org.apache.synapse.commons.executors.PriorityExecutor |
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.commons.executors.PriorityExecutor executor,
org.apache.synapse.config.SynapseConfiguration synapseConfig)
Serialize and save the given object to the local file system
|
protected org.apache.axiom.om.OMElement |
serialize(org.apache.synapse.commons.executors.PriorityExecutor executor)
Serialize the given object into XML
|
delete, handleException, saveprotected org.apache.axiom.om.OMElement saveToFile(org.apache.synapse.commons.executors.PriorityExecutor executor,
org.apache.synapse.config.SynapseConfiguration synapseConfig)
AbstractStoresaveToFile in class AbstractStore<org.apache.synapse.commons.executors.PriorityExecutor>executor - Object to be savedsynapseConfig - synapse configurationprotected void deleteFile(String fileName, org.apache.synapse.config.SynapseConfiguration synapseConfiguration)
AbstractStoredeleteFile in class AbstractStore<org.apache.synapse.commons.executors.PriorityExecutor>fileName - Name of the file to be deletedsynapseConfiguration - synapse configurationprotected org.apache.synapse.commons.executors.PriorityExecutor getObjectToPersist(String name, org.apache.synapse.config.SynapseConfiguration config)
AbstractStoregetObjectToPersist in class AbstractStore<org.apache.synapse.commons.executors.PriorityExecutor>name - Name or unique ID of the objectconfig - Current SynapseConfigurationprotected String getFileName(org.apache.synapse.commons.executors.PriorityExecutor executor)
AbstractStoregetFileName in class AbstractStore<org.apache.synapse.commons.executors.PriorityExecutor>executor - The object to be inspectedprotected org.apache.axiom.om.OMElement serialize(org.apache.synapse.commons.executors.PriorityExecutor executor)
AbstractStoreserialize in class AbstractStore<org.apache.synapse.commons.executors.PriorityExecutor>executor - The object to be serializedCopyright © 2019 WSO2. All rights reserved.