| |
|
| java.lang.Object org.wso2.esb.services.AbstractESBAdmin org.wso2.esb.services.ProxyServiceAdmin
ProxyServiceAdmin | public class ProxyServiceAdmin extends AbstractESBAdmin (Code) | | This is a POJO for the Proxy Service admin service
|
addProxyService | public void addProxyService(OMElement proxyServiceElement) throws AxisFault(Code) | | Add a proxy service described by the given OMElement
Parameters: proxyServiceElement - configuraiton of the proxy service which needs to be added throws: AxisFault - if the element is not an proxy service or if a proxy service with thesame name exists |
deleteProxyService | public void deleteProxyService(String proxyServiceName) throws AxisFault(Code) | | Deletes a proxy service from the synapse configuration
Parameters: proxyServiceName - name of the proxy service which needs to be deleted throws: AxisFault - if the proxy service name given is not existent in thesynapse configuration |
disableStatistics | public void disableStatistics(String proxyName) throws AxisFault(Code) | | Disables statistics for the specified proxy servivce
Parameters: proxyName - name of the proxy service of which statistics need to be disabled throws: AxisFault - in case of a failure in disabling statistics |
disableTracing | public void disableTracing(String proxyName) throws AxisFault(Code) | | Disables tracing for the specified proxy service
Parameters: proxyName - name of the proxy service of which tracing needs to be disabled throws: AxisFault - in case of a failure in disabling tracing |
enableStatistics | public void enableStatistics(String proxyName) throws AxisFault(Code) | | Enables statistics for the specified proxy service
Parameters: proxyName - name of the proxy service name of which the statistics need to be enabled throws: AxisFault - in case of a failure in enabling statistics |
enableTracing | public void enableTracing(String proxyName) throws AxisFault(Code) | | Enables tracing for the specified proxy service
Parameters: proxyName - name of the the proxy service of which tracing needs to be enabled throws: AxisFault - in case of a failure in enabling tracing |
getAvailabelEndpoints | public String[] getAvailabelEndpoints() throws AxisFault(Code) | | Get the availabel endpoints from the SynapseConfiguration
String array of availabel endpoint names throws: AxisFault - if there is an error |
getAvailabelSequences | public String[] getAvailabelSequences() throws AxisFault(Code) | | Get the availabel sequences from the SynapseConfiguration
String array of availabel sequence names throws: AxisFault - if there is an error |
getAvailabelTransports | public String[] getAvailabelTransports() throws AxisFault(Code) | | Get the availabel transport names from the AxisConfiguration
String array of availabel transport names throws: AxisFault - if there is an error |
getProxyServiceElement | public OMElement getProxyServiceElement(String proxyName) throws AxisFault(Code) | | Get the proxy service configuration as an OMElement
Parameters: proxyName - name of the proxy service which needs the configuraiton OMElement representing the proxy servicve configuration throws: AxisFault - in case of failure in getting the configuration |
proxyData | public ProxyData[] proxyData() throws AxisFault(Code) | | Get all the proxy services wrapped in the ProxyData objects as a list for the
admin console to view the details of them
Array of ProxyData objects in the SynapseConfiguraiton throws: AxisFault - in case of a failure in getting proxies |
saveProxyService | public void saveProxyService(OMElement proxyServiceElement) throws AxisFault(Code) | | Alter and saves the proxy service to the SynapseConfiguration as specified by the
given OMElement configuration
Parameters: proxyServiceElement - configuration of the proxy service which needs to be altered throws: AxisFault - if the service not present or the configuration is wrong orin case of a failure in building the axis service |
startProxyService | public void startProxyService(String proxyServiceName) throws AxisFault(Code) | | Starts the service specified by the name
Parameters: proxyServiceName - name of the proxy service which needs to be started throws: AxisFault - incase of a failure in starting the service |
stopProxyService | public void stopProxyService(String proxyServiceName) throws AxisFault(Code) | | Stops the service specified by the name
Parameters: proxyServiceName - name of the proxy service which needs to be stoped throws: AxisFault - in case of a failure in stopping the service |
|
|
|