public interface IProxyServiceAdmin
IProxyServiceAdmin
provides the administration service to configure
proxy services.Modifier and Type | Method and Description |
---|---|
String |
addProxy(ProxyData pd) |
String |
deleteProxyService(String proxyName)
Deletes a proxy service from the synapse configuration
|
String |
disableStatistics(String proxyName)
Disables statistics for the specified proxy servivce
|
String |
disableTracing(String proxyName)
Disables tracing for the specified proxy service
|
String |
enableStatistics(String proxyName)
Enables statistics for the specified proxy service
|
String |
enableTracing(String proxyName)
Enables tracing for the specified proxy service
|
String[] |
getAvailableEndpoints()
Get the available endpoints from the SynapseConfiguration
|
String[] |
getAvailableSequences()
Get the available sequences from the SynapseConfiguration
|
String[] |
getAvailableTransports()
Get the available transport names from the AxisConfiguration
|
String |
getEndpoint(String name)
Gets the endpoint object defined under the given name
|
MetaData |
getMetaData()
Encapsulates the available transports, endpoints, and sequences into a single two dimensional array
|
ProxyData |
getProxy(String proxyName) |
String |
getSourceView(ProxyData pd) |
String |
modifyProxy(ProxyData pd) |
String |
redeployProxyService(String proxyName)
Redeploying service
Removes an existing one,Adds a new one
|
String |
startProxyService(String proxyName)
Starts the service specified by the name
|
String |
stopProxyService(String proxyName)
Stops the service specified by the name
|
String enableStatistics(String proxyName) throws ProxyAdminException
proxyName
- name of the proxy service name of which the statistics need to be enabledsuccessful
on success or failed
otherwiseProxyAdminException
- in case of a failure in enabling statisticsString disableStatistics(String proxyName) throws ProxyAdminException
proxyName
- name of the proxy service of which statistics need to be disabledsuccessful
on success or failed
if unsuccessfulProxyAdminException
- in case of a failure in disabling statisticsString enableTracing(String proxyName) throws ProxyAdminException
proxyName
- name of the the proxy service of which tracing needs to be enabledsuccessful
on success or failed
otherwiseProxyAdminException
- in case of a failure in enabling tracingString disableTracing(String proxyName) throws ProxyAdminException
proxyName
- name of the proxy service of which tracing needs to be disabledProxyAdminException
- in case of a failure in disabling tracingString deleteProxyService(String proxyName) throws ProxyAdminException
proxyName
- name of the proxy service which needs to be deletedsuccessful
on success or failed
otherwiseProxyAdminException
- if the proxy service name given is not existent in the
synapse configurationString[] getAvailableTransports() throws ProxyAdminException
ProxyAdminException
String[] getAvailableSequences() throws ProxyAdminException
ProxyAdminException
- if there is an errorString[] getAvailableEndpoints() throws ProxyAdminException
ProxyAdminException
- if there is an errorString getEndpoint(String name) throws ProxyAdminException
name
- the name of the endpointProxyAdminException
- if the endpoint is not found for the given nameMetaData getMetaData() throws ProxyAdminException
ProxyAdminException
String startProxyService(String proxyName) throws ProxyAdminException
proxyName
- name of the proxy service which needs to be startedsuccessful
on success or failed
otherwiseProxyAdminException
- incase of a failure in starting the serviceString stopProxyService(String proxyName) throws ProxyAdminException
proxyName
- name of the proxy service which needs to be stopedsuccessful
on success or failed
otherwiseProxyAdminException
- in case of a failure in stopping the serviceString redeployProxyService(String proxyName) throws ProxyAdminException
proxyName
- name of the proxy service which needs to be redeployedsuccessful
on success or failed
otherwiseProxyAdminException
- in case of a failure in redeploying the serviceString getSourceView(ProxyData pd) throws ProxyAdminException
ProxyAdminException
ProxyData getProxy(String proxyName) throws ProxyAdminException
ProxyAdminException
String addProxy(ProxyData pd) throws ProxyAdminException
ProxyAdminException
String modifyProxy(ProxyData pd) throws ProxyAdminException
ProxyAdminException
Copyright © 2020 WSO2. All rights reserved.