Class ThrottleAdminServiceStub
- java.lang.Object
-
- org.apache.axis2.client.Stub
-
- org.wso2.carbon.mediators.throttle.admin.stub.ThrottleAdminServiceStub
-
- All Implemented Interfaces:
ThrottleAdminService
public class ThrottleAdminServiceStub extends org.apache.axis2.client.Stub implements ThrottleAdminService
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.axis2.description.AxisOperation[]
_operations
-
Constructor Summary
Constructors Constructor Description ThrottleAdminServiceStub()
Default ConstructorThrottleAdminServiceStub(String targetEndpoint)
Constructor taking the target endpointThrottleAdminServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext)
Default ConstructorThrottleAdminServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint)
Constructor that takes in a configContextThrottleAdminServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint, boolean useSeparateListener)
Constructor that takes in a configContext and useseperate listner
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
disableThrottling(String serviceName90)
Auto generated method signaturevoid
disengageGlobalThrottling()
Auto generated method signatureboolean
disengageThrottlingForOperation(String serviceName68, String operationName69)
Auto generated method signaturevoid
enableThrottling(String serviceName77, ThrottlePolicy policy78)
Auto generated method signatureboolean
engageThrottlingForOperation(ThrottlePolicy policy58, String serviceName59, String operationName60)
Auto generated method signatureThrottlePolicy
getGlobalPolicyConfigs()
Auto generated method signatureThrottlePolicy
getOperationPolicyConfigs(String serviceName92, String operationName93)
Auto generated method signatureThrottlePolicy
getPolicyConfigs(String serviceName85)
Auto generated method signaturevoid
globallyEngageThrottling(ThrottlePolicy policy80)
Auto generated method signaturevoid
startdisengageThrottlingForOperation(String serviceName68, String operationName69, ThrottleAdminServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
startengageThrottlingForOperation(ThrottlePolicy policy58, String serviceName59, String operationName60, ThrottleAdminServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
startgetGlobalPolicyConfigs(ThrottleAdminServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
startgetOperationPolicyConfigs(String serviceName92, String operationName93, ThrottleAdminServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
startgetPolicyConfigs(String serviceName85, ThrottleAdminServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
startthrottlePolicyToString(ThrottlePolicy policy73, ThrottleAdminServiceCallbackHandler callback)
Auto generated method signature for Asynchronous Invocationsvoid
starttoThrottlePolicy(String policyXML64, ThrottleAdminServiceCallbackHandler callback)
Auto generated method signature for Asynchronous InvocationsString
throttlePolicyToString(ThrottlePolicy policy73)
Auto generated method signatureThrottlePolicy
toThrottlePolicy(String policyXML64)
Auto generated method signature-
Methods inherited from class org.apache.axis2.client.Stub
_getServiceClient, _setServiceClient, addAnonymousOperations, addHeader, addHeader, addHttpHeader, addPropertyToOperationClient, addPropertyToOperationClient, addPropertyToOperationClient, cleanup, createEnvelope, finalize, getFactory, setMustUnderstand, setServiceClientEPR
-
-
-
-
Constructor Detail
-
ThrottleAdminServiceStub
public ThrottleAdminServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint) throws org.apache.axis2.AxisFault
Constructor that takes in a configContext- Throws:
org.apache.axis2.AxisFault
-
ThrottleAdminServiceStub
public ThrottleAdminServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint, boolean useSeparateListener) throws org.apache.axis2.AxisFault
Constructor that takes in a configContext and useseperate listner- Throws:
org.apache.axis2.AxisFault
-
ThrottleAdminServiceStub
public ThrottleAdminServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext) throws org.apache.axis2.AxisFault
Default Constructor- Throws:
org.apache.axis2.AxisFault
-
ThrottleAdminServiceStub
public ThrottleAdminServiceStub() throws org.apache.axis2.AxisFault
Default Constructor- Throws:
org.apache.axis2.AxisFault
-
ThrottleAdminServiceStub
public ThrottleAdminServiceStub(String targetEndpoint) throws org.apache.axis2.AxisFault
Constructor taking the target endpoint- Throws:
org.apache.axis2.AxisFault
-
-
Method Detail
-
engageThrottlingForOperation
public boolean engageThrottlingForOperation(ThrottlePolicy policy58, String serviceName59, String operationName60) throws RemoteException, ThrottleComponentExceptionException
Auto generated method signature- Specified by:
engageThrottlingForOperation
in interfaceThrottleAdminService
- Parameters:
engageThrottlingForOperation57
-- Throws:
ThrottleComponentExceptionException
- :RemoteException
- See Also:
ThrottleAdminService.engageThrottlingForOperation(org.wso2.carbon.mediators.throttle.admin.stub.types.ThrottlePolicy, java.lang.String, java.lang.String)
-
startengageThrottlingForOperation
public void startengageThrottlingForOperation(ThrottlePolicy policy58, String serviceName59, String operationName60, ThrottleAdminServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startengageThrottlingForOperation
in interfaceThrottleAdminService
- Parameters:
engageThrottlingForOperation57
-- Throws:
RemoteException
- See Also:
ThrottleAdminService.startengageThrottlingForOperation(org.wso2.carbon.mediators.throttle.admin.stub.types.ThrottlePolicy, java.lang.String, java.lang.String, org.wso2.carbon.mediators.throttle.admin.stub.ThrottleAdminServiceCallbackHandler)
-
toThrottlePolicy
public ThrottlePolicy toThrottlePolicy(String policyXML64) throws RemoteException, ThrottleComponentExceptionException
Auto generated method signature- Specified by:
toThrottlePolicy
in interfaceThrottleAdminService
- Parameters:
toThrottlePolicy63
-- Throws:
ThrottleComponentExceptionException
- :RemoteException
- See Also:
ThrottleAdminService.toThrottlePolicy(java.lang.String)
-
starttoThrottlePolicy
public void starttoThrottlePolicy(String policyXML64, ThrottleAdminServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
starttoThrottlePolicy
in interfaceThrottleAdminService
- Parameters:
toThrottlePolicy63
-- Throws:
RemoteException
- See Also:
ThrottleAdminService.starttoThrottlePolicy(java.lang.String, org.wso2.carbon.mediators.throttle.admin.stub.ThrottleAdminServiceCallbackHandler)
-
disengageThrottlingForOperation
public boolean disengageThrottlingForOperation(String serviceName68, String operationName69) throws RemoteException, ThrottleComponentExceptionException
Auto generated method signature- Specified by:
disengageThrottlingForOperation
in interfaceThrottleAdminService
- Parameters:
disengageThrottlingForOperation67
-- Throws:
ThrottleComponentExceptionException
- :RemoteException
- See Also:
ThrottleAdminService.disengageThrottlingForOperation(java.lang.String, java.lang.String)
-
startdisengageThrottlingForOperation
public void startdisengageThrottlingForOperation(String serviceName68, String operationName69, ThrottleAdminServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startdisengageThrottlingForOperation
in interfaceThrottleAdminService
- Parameters:
disengageThrottlingForOperation67
-- Throws:
RemoteException
- See Also:
ThrottleAdminService.startdisengageThrottlingForOperation(java.lang.String, java.lang.String, org.wso2.carbon.mediators.throttle.admin.stub.ThrottleAdminServiceCallbackHandler)
-
throttlePolicyToString
public String throttlePolicyToString(ThrottlePolicy policy73) throws RemoteException, ThrottleComponentExceptionException
Auto generated method signature- Specified by:
throttlePolicyToString
in interfaceThrottleAdminService
- Parameters:
throttlePolicyToString72
-- Throws:
ThrottleComponentExceptionException
- :RemoteException
- See Also:
ThrottleAdminService.throttlePolicyToString(org.wso2.carbon.mediators.throttle.admin.stub.types.ThrottlePolicy)
-
startthrottlePolicyToString
public void startthrottlePolicyToString(ThrottlePolicy policy73, ThrottleAdminServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startthrottlePolicyToString
in interfaceThrottleAdminService
- Parameters:
throttlePolicyToString72
-- Throws:
RemoteException
- See Also:
ThrottleAdminService.startthrottlePolicyToString(org.wso2.carbon.mediators.throttle.admin.stub.types.ThrottlePolicy, org.wso2.carbon.mediators.throttle.admin.stub.ThrottleAdminServiceCallbackHandler)
-
enableThrottling
public void enableThrottling(String serviceName77, ThrottlePolicy policy78) throws RemoteException, ThrottleComponentExceptionException
Auto generated method signature- Specified by:
enableThrottling
in interfaceThrottleAdminService
- Throws:
ThrottleComponentExceptionException
- :RemoteException
-
globallyEngageThrottling
public void globallyEngageThrottling(ThrottlePolicy policy80) throws RemoteException, ThrottleComponentExceptionException
Auto generated method signature- Specified by:
globallyEngageThrottling
in interfaceThrottleAdminService
- Throws:
ThrottleComponentExceptionException
- :RemoteException
-
getGlobalPolicyConfigs
public ThrottlePolicy getGlobalPolicyConfigs() throws RemoteException, ThrottleComponentExceptionException
Auto generated method signature- Specified by:
getGlobalPolicyConfigs
in interfaceThrottleAdminService
- Throws:
ThrottleComponentExceptionException
- :RemoteException
- See Also:
ThrottleAdminService.getGlobalPolicyConfigs()
-
startgetGlobalPolicyConfigs
public void startgetGlobalPolicyConfigs(ThrottleAdminServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations
-
getPolicyConfigs
public ThrottlePolicy getPolicyConfigs(String serviceName85) throws RemoteException, ThrottleComponentExceptionException
Auto generated method signature- Specified by:
getPolicyConfigs
in interfaceThrottleAdminService
- Parameters:
getPolicyConfigs84
-- Throws:
ThrottleComponentExceptionException
- :RemoteException
- See Also:
ThrottleAdminService.getPolicyConfigs(java.lang.String)
-
startgetPolicyConfigs
public void startgetPolicyConfigs(String serviceName85, ThrottleAdminServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startgetPolicyConfigs
in interfaceThrottleAdminService
- Parameters:
getPolicyConfigs84
-- Throws:
RemoteException
- See Also:
ThrottleAdminService.startgetPolicyConfigs(java.lang.String, org.wso2.carbon.mediators.throttle.admin.stub.ThrottleAdminServiceCallbackHandler)
-
disengageGlobalThrottling
public void disengageGlobalThrottling() throws RemoteException, ThrottleComponentExceptionException
Auto generated method signature- Specified by:
disengageGlobalThrottling
in interfaceThrottleAdminService
- Throws:
ThrottleComponentExceptionException
- :RemoteException
-
disableThrottling
public void disableThrottling(String serviceName90) throws RemoteException, ThrottleComponentExceptionException
Auto generated method signature- Specified by:
disableThrottling
in interfaceThrottleAdminService
- Throws:
ThrottleComponentExceptionException
- :RemoteException
-
getOperationPolicyConfigs
public ThrottlePolicy getOperationPolicyConfigs(String serviceName92, String operationName93) throws RemoteException, ThrottleComponentExceptionException
Auto generated method signature- Specified by:
getOperationPolicyConfigs
in interfaceThrottleAdminService
- Parameters:
getOperationPolicyConfigs91
-- Throws:
ThrottleComponentExceptionException
- :RemoteException
- See Also:
ThrottleAdminService.getOperationPolicyConfigs(java.lang.String, java.lang.String)
-
startgetOperationPolicyConfigs
public void startgetOperationPolicyConfigs(String serviceName92, String operationName93, ThrottleAdminServiceCallbackHandler callback) throws RemoteException
Auto generated method signature for Asynchronous Invocations- Specified by:
startgetOperationPolicyConfigs
in interfaceThrottleAdminService
- Parameters:
getOperationPolicyConfigs91
-- Throws:
RemoteException
- See Also:
ThrottleAdminService.startgetOperationPolicyConfigs(java.lang.String, java.lang.String, org.wso2.carbon.mediators.throttle.admin.stub.ThrottleAdminServiceCallbackHandler)
-
-