Interface IProxyServiceAdmin
public interface IProxyServiceAdmin
The class
IProxyServiceAdmin provides the administration service to configure
proxy services.-
Method Summary
Modifier and TypeMethodDescriptiondeleteProxyService(String proxyName) Deletes a proxy service from the synapse configurationdisableStatistics(String proxyName) Disables statistics for the specified proxy servivcedisableTracing(String proxyName) Disables tracing for the specified proxy serviceenableStatistics(String proxyName) Enables statistics for the specified proxy serviceenableTracing(String proxyName) Enables tracing for the specified proxy serviceString[]Get the available endpoints from the SynapseConfigurationString[]Get the available sequences from the SynapseConfigurationString[]Get the available transport names from the AxisConfigurationgetEndpoint(String name) Gets the endpoint object defined under the given nameEncapsulates the available transports, endpoints, and sequences into a single two dimensional arraymodifyProxy(ProxyData pd) redeployProxyService(String proxyName) Redeploying service Removes an existing one,Adds a new onestartProxyService(String proxyName) Starts the service specified by the namestopProxyService(String proxyName) Stops the service specified by the name
-
Method Details
-
enableStatistics
Enables statistics for the specified proxy service- Parameters:
proxyName- name of the proxy service name of which the statistics need to be enabled- Returns:
successfulon success orfailedotherwise- Throws:
ProxyAdminException- in case of a failure in enabling statistics
-
disableStatistics
Disables statistics for the specified proxy servivce- Parameters:
proxyName- name of the proxy service of which statistics need to be disabled- Returns:
successfulon success orfailedif unsuccessful- Throws:
ProxyAdminException- in case of a failure in disabling statistics
-
enableTracing
Enables tracing for the specified proxy service- Parameters:
proxyName- name of the the proxy service of which tracing needs to be enabled- Returns:
successfulon success orfailedotherwise- Throws:
ProxyAdminException- in case of a failure in enabling tracing
-
disableTracing
Disables tracing for the specified proxy service- Parameters:
proxyName- name of the proxy service of which tracing needs to be disabled- Returns:
- SUCCESSFUL is the operation is successful and FAILED if it is failed
- Throws:
ProxyAdminException- in case of a failure in disabling tracing
-
deleteProxyService
Deletes a proxy service from the synapse configuration- Parameters:
proxyName- name of the proxy service which needs to be deleted- Returns:
successfulon success orfailedotherwise- Throws:
ProxyAdminException- if the proxy service name given is not existent in the synapse configuration
-
getAvailableTransports
Get the available transport names from the AxisConfiguration- Returns:
- String array of available transport names
- Throws:
ProxyAdminException
-
getAvailableSequences
Get the available sequences from the SynapseConfiguration- Returns:
- String array of available sequence names
- Throws:
ProxyAdminException- if there is an error
-
getAvailableEndpoints
Get the available endpoints from the SynapseConfiguration- Returns:
- String array of available endpoint names
- Throws:
ProxyAdminException- if there is an error
-
getEndpoint
Gets the endpoint object defined under the given name- Parameters:
name- the name of the endpoint- Returns:
- endpoint configuration related with the name
- Throws:
ProxyAdminException- if the endpoint is not found for the given name
-
getMetaData
Encapsulates the available transports, endpoints, and sequences into a single two dimensional array- Returns:
- A two dimensional array containing the set of transports, endpoints, and sequences under 0,1, and 2 indices.
- Throws:
ProxyAdminException
-
startProxyService
Starts the service specified by the name- Parameters:
proxyName- name of the proxy service which needs to be started- Returns:
successfulon success orfailedotherwise- Throws:
ProxyAdminException- incase of a failure in starting the service
-
stopProxyService
Stops the service specified by the name- Parameters:
proxyName- name of the proxy service which needs to be stoped- Returns:
successfulon success orfailedotherwise- Throws:
ProxyAdminException- in case of a failure in stopping the service
-
redeployProxyService
Redeploying service Removes an existing one,Adds a new one- Parameters:
proxyName- name of the proxy service which needs to be redeployed- Returns:
successfulon success orfailedotherwise- Throws:
ProxyAdminException- in case of a failure in redeploying the service
-
getSourceView
- Throws:
ProxyAdminException
-
getProxy
- Throws:
ProxyAdminException
-
addProxy
- Throws:
ProxyAdminException
-
modifyProxy
- Throws:
ProxyAdminException
-