| |
|
| java.lang.Object org.wso2.esb.services.AbstractESBAdmin org.wso2.esb.services.SequenceAdmin
SequenceAdmin | public class SequenceAdmin extends AbstractESBAdmin (Code) | | This is a POJO for the Sequence admin service
|
addSequence | public void addSequence(OMElement sequenceElement) throws AxisFault(Code) | | Add a sequence into the synapseConfiguration
Parameters: sequenceElement - - Sequence object to be added as an OMElement throws: AxisFault - if a sequence exists with the same name or if theelement provided is not a Sequence element |
deleteSequence | public void deleteSequence(String sequenceName) throws AxisFault(Code) | | Deletes the sequence with the given name from SynapseConfiguration
Parameters: sequenceName - - Name of the sequence to delete throws: AxisFault - if the Sequence described by the given name doesntexists in the Synapse Configuration |
disableStatistics | public void disableStatistics(String sequenceName) throws AxisFault(Code) | | todo - docs
Parameters: sequenceName - throws: AxisFault - |
disableTracing | public void disableTracing(String sequenceName) throws AxisFault(Code) | | Parameters: sequenceName - throws: AxisFault - |
enableStatistics | public void enableStatistics(String sequenceName) throws AxisFault(Code) | | todo - docs
Parameters: sequenceName - throws: AxisFault - |
enableTracing | public void enableTracing(String sequenceName) throws AxisFault(Code) | | Parameters: sequenceName - throws: AxisFault - |
getMainSequence | public OMElement getMainSequence() throws AxisFault(Code) | | Returns the OMElement representation of the main mediator sequence
OMElement representing the main mediator sequence throws: AxisFault - if an error occurs while retrieving the main mediator from Synapse |
getSequence | public OMElement getSequence(String sequenceName) throws AxisFault(Code) | | Returns the OMelement representation of the sequence given by sequence
name
Parameters: sequenceName - - name of the sequence to get OMElement representing the SequenceMediator of the given sequencename throws: AxisFault - if any error occured while getting the data from theSynapseConfiguration |
saveSequence | public void saveSequence(OMElement sequenceElement) throws AxisFault(Code) | | Saves the sequence described with the sequence string
Parameters: sequenceElement - - String representing the XML describing theSequence throws: AxisFault - if the sequence name already exists or if the stringdoesnt represent a Sequence element |
sequenceData | public SequenceData[] sequenceData() throws AxisFault(Code) | | Gets the details about the sequences as a SequenceData array
Array of SequenceData representing the Sequences in theSynapseConfiguration throws: AxisFault - if an error occured while getting the data fromSynapseConfiguration |
|
|
|