Class EndpointTemplateAdminServiceCallbackHandler
- java.lang.Object
-
- org.wso2.carbon.mediation.templates.endpoint.stub.types.EndpointTemplateAdminServiceCallbackHandler
-
public abstract class EndpointTemplateAdminServiceCallbackHandler extends Object
EndpointTemplateAdminServiceCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and receiveError methods.
-
-
Field Summary
Fields Modifier and Type Field Description protected Object
clientData
-
Constructor Summary
Constructors Constructor Description EndpointTemplateAdminServiceCallbackHandler()
Please use this constructor if you don't want to set any clientDataEndpointTemplateAdminServiceCallbackHandler(Object clientData)
User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getClientData()
Get the client datavoid
receiveErrorgetDynamicEndpointTemplates(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getDynamicEndpointTemplates operationvoid
receiveErrorgetDynamicEndpointTemplatesCount(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getDynamicEndpointTemplatesCount operationvoid
receiveErrorgetEndpointTemplates(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getEndpointTemplates operationvoid
receiveErrorgetEndpointTemplatesCount(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getEndpointTemplatesCount operationvoid
receiveErrorgetTemplate(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getTemplate operationvoid
receiveErrorhasDuplicateTempleteEndpoint(Exception e)
auto generated Axis2 Error handler override this method for handling error response from hasDuplicateTempleteEndpoint operationvoid
receiveResultgetDynamicEndpointTemplates(EndpointTemplateInfo[] result)
auto generated Axis2 call back method for getDynamicEndpointTemplates method override this method for handling normal response from getDynamicEndpointTemplates operationvoid
receiveResultgetDynamicEndpointTemplatesCount(int result)
auto generated Axis2 call back method for getDynamicEndpointTemplatesCount method override this method for handling normal response from getDynamicEndpointTemplatesCount operationvoid
receiveResultgetEndpointTemplates(EndpointTemplateInfo[] result)
auto generated Axis2 call back method for getEndpointTemplates method override this method for handling normal response from getEndpointTemplates operationvoid
receiveResultgetEndpointTemplatesCount(int result)
auto generated Axis2 call back method for getEndpointTemplatesCount method override this method for handling normal response from getEndpointTemplatesCount operationvoid
receiveResultgetTemplate(org.apache.axiom.om.OMElement result)
auto generated Axis2 call back method for getTemplate method override this method for handling normal response from getTemplate operationvoid
receiveResulthasDuplicateTempleteEndpoint(boolean result)
auto generated Axis2 call back method for hasDuplicateTempleteEndpoint method override this method for handling normal response from hasDuplicateTempleteEndpoint operation
-
-
-
Field Detail
-
clientData
protected Object clientData
-
-
Constructor Detail
-
EndpointTemplateAdminServiceCallbackHandler
public EndpointTemplateAdminServiceCallbackHandler(Object clientData)
User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called.- Parameters:
clientData
- Object mechanism by which the user can pass in user data that will be avilable at the time this callback is called.
-
EndpointTemplateAdminServiceCallbackHandler
public EndpointTemplateAdminServiceCallbackHandler()
Please use this constructor if you don't want to set any clientData
-
-
Method Detail
-
getClientData
public Object getClientData()
Get the client data
-
receiveResultgetEndpointTemplates
public void receiveResultgetEndpointTemplates(EndpointTemplateInfo[] result)
auto generated Axis2 call back method for getEndpointTemplates method override this method for handling normal response from getEndpointTemplates operation
-
receiveErrorgetEndpointTemplates
public void receiveErrorgetEndpointTemplates(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getEndpointTemplates operation
-
receiveResultgetDynamicEndpointTemplatesCount
public void receiveResultgetDynamicEndpointTemplatesCount(int result)
auto generated Axis2 call back method for getDynamicEndpointTemplatesCount method override this method for handling normal response from getDynamicEndpointTemplatesCount operation
-
receiveErrorgetDynamicEndpointTemplatesCount
public void receiveErrorgetDynamicEndpointTemplatesCount(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getDynamicEndpointTemplatesCount operation
-
receiveResultgetEndpointTemplatesCount
public void receiveResultgetEndpointTemplatesCount(int result)
auto generated Axis2 call back method for getEndpointTemplatesCount method override this method for handling normal response from getEndpointTemplatesCount operation
-
receiveErrorgetEndpointTemplatesCount
public void receiveErrorgetEndpointTemplatesCount(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getEndpointTemplatesCount operation
-
receiveResultgetTemplate
public void receiveResultgetTemplate(org.apache.axiom.om.OMElement result)
auto generated Axis2 call back method for getTemplate method override this method for handling normal response from getTemplate operation
-
receiveErrorgetTemplate
public void receiveErrorgetTemplate(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getTemplate operation
-
receiveResultgetDynamicEndpointTemplates
public void receiveResultgetDynamicEndpointTemplates(EndpointTemplateInfo[] result)
auto generated Axis2 call back method for getDynamicEndpointTemplates method override this method for handling normal response from getDynamicEndpointTemplates operation
-
receiveErrorgetDynamicEndpointTemplates
public void receiveErrorgetDynamicEndpointTemplates(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getDynamicEndpointTemplates operation
-
receiveResulthasDuplicateTempleteEndpoint
public void receiveResulthasDuplicateTempleteEndpoint(boolean result)
auto generated Axis2 call back method for hasDuplicateTempleteEndpoint method override this method for handling normal response from hasDuplicateTempleteEndpoint operation
-
receiveErrorhasDuplicateTempleteEndpoint
public void receiveErrorhasDuplicateTempleteEndpoint(Exception e)
auto generated Axis2 Error handler override this method for handling error response from hasDuplicateTempleteEndpoint operation
-
-