Class TemplateAdminServiceCallbackHandler
- java.lang.Object
-
- org.wso2.carbon.mediation.templates.stub.types.TemplateAdminServiceCallbackHandler
-
public abstract class TemplateAdminServiceCallbackHandler extends Object
TemplateAdminServiceCallbackHandler 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 TemplateAdminServiceCallbackHandler()
Please use this constructor if you don't want to set any clientDataTemplateAdminServiceCallbackHandler(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
receiveErrordisableStatistics(Exception e)
auto generated Axis2 Error handler override this method for handling error response from disableStatistics operationvoid
receiveErrordisableTracing(Exception e)
auto generated Axis2 Error handler override this method for handling error response from disableTracing operationvoid
receiveErrorenableStatistics(Exception e)
auto generated Axis2 Error handler override this method for handling error response from enableStatistics operationvoid
receiveErrorenableTracing(Exception e)
auto generated Axis2 Error handler override this method for handling error response from enableTracing operationvoid
receiveErrorgetDynamicTemplate(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getDynamicTemplate operationvoid
receiveErrorgetDynamicTemplateCount(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getDynamicTemplateCount operationvoid
receiveErrorgetDynamicTemplates(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getDynamicTemplates operationvoid
receiveErrorgetTemplate(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getTemplate operationvoid
receiveErrorgetTemplates(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getTemplates operationvoid
receiveErrorgetTemplatesCount(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getTemplatesCount operationvoid
receiveResultdisableStatistics(String result)
auto generated Axis2 call back method for disableStatistics method override this method for handling normal response from disableStatistics operationvoid
receiveResultdisableTracing(String result)
auto generated Axis2 call back method for disableTracing method override this method for handling normal response from disableTracing operationvoid
receiveResultenableStatistics(String result)
auto generated Axis2 call back method for enableStatistics method override this method for handling normal response from enableStatistics operationvoid
receiveResultenableTracing(String result)
auto generated Axis2 call back method for enableTracing method override this method for handling normal response from enableTracing operationvoid
receiveResultgetDynamicTemplate(org.apache.axiom.om.OMElement result)
auto generated Axis2 call back method for getDynamicTemplate method override this method for handling normal response from getDynamicTemplate operationvoid
receiveResultgetDynamicTemplateCount(int result)
auto generated Axis2 call back method for getDynamicTemplateCount method override this method for handling normal response from getDynamicTemplateCount operationvoid
receiveResultgetDynamicTemplates(TemplateInfo[] result)
auto generated Axis2 call back method for getDynamicTemplates method override this method for handling normal response from getDynamicTemplates 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
receiveResultgetTemplates(TemplateInfo[] result)
auto generated Axis2 call back method for getTemplates method override this method for handling normal response from getTemplates operationvoid
receiveResultgetTemplatesCount(int result)
auto generated Axis2 call back method for getTemplatesCount method override this method for handling normal response from getTemplatesCount operation
-
-
-
Field Detail
-
clientData
protected Object clientData
-
-
Constructor Detail
-
TemplateAdminServiceCallbackHandler
public TemplateAdminServiceCallbackHandler(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.
-
TemplateAdminServiceCallbackHandler
public TemplateAdminServiceCallbackHandler()
Please use this constructor if you don't want to set any clientData
-
-
Method Detail
-
getClientData
public Object getClientData()
Get the client data
-
receiveResultgetDynamicTemplateCount
public void receiveResultgetDynamicTemplateCount(int result)
auto generated Axis2 call back method for getDynamicTemplateCount method override this method for handling normal response from getDynamicTemplateCount operation
-
receiveErrorgetDynamicTemplateCount
public void receiveErrorgetDynamicTemplateCount(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getDynamicTemplateCount operation
-
receiveResultdisableStatistics
public void receiveResultdisableStatistics(String result)
auto generated Axis2 call back method for disableStatistics method override this method for handling normal response from disableStatistics operation
-
receiveErrordisableStatistics
public void receiveErrordisableStatistics(Exception e)
auto generated Axis2 Error handler override this method for handling error response from disableStatistics operation
-
receiveResultenableStatistics
public void receiveResultenableStatistics(String result)
auto generated Axis2 call back method for enableStatistics method override this method for handling normal response from enableStatistics operation
-
receiveErrorenableStatistics
public void receiveErrorenableStatistics(Exception e)
auto generated Axis2 Error handler override this method for handling error response from enableStatistics operation
-
receiveResultenableTracing
public void receiveResultenableTracing(String result)
auto generated Axis2 call back method for enableTracing method override this method for handling normal response from enableTracing operation
-
receiveErrorenableTracing
public void receiveErrorenableTracing(Exception e)
auto generated Axis2 Error handler override this method for handling error response from enableTracing 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
-
receiveResultgetTemplates
public void receiveResultgetTemplates(TemplateInfo[] result)
auto generated Axis2 call back method for getTemplates method override this method for handling normal response from getTemplates operation
-
receiveErrorgetTemplates
public void receiveErrorgetTemplates(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getTemplates operation
-
receiveResultgetTemplatesCount
public void receiveResultgetTemplatesCount(int result)
auto generated Axis2 call back method for getTemplatesCount method override this method for handling normal response from getTemplatesCount operation
-
receiveErrorgetTemplatesCount
public void receiveErrorgetTemplatesCount(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getTemplatesCount operation
-
receiveResultgetDynamicTemplates
public void receiveResultgetDynamicTemplates(TemplateInfo[] result)
auto generated Axis2 call back method for getDynamicTemplates method override this method for handling normal response from getDynamicTemplates operation
-
receiveErrorgetDynamicTemplates
public void receiveErrorgetDynamicTemplates(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getDynamicTemplates operation
-
receiveResultgetDynamicTemplate
public void receiveResultgetDynamicTemplate(org.apache.axiom.om.OMElement result)
auto generated Axis2 call back method for getDynamicTemplate method override this method for handling normal response from getDynamicTemplate operation
-
receiveErrorgetDynamicTemplate
public void receiveErrorgetDynamicTemplate(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getDynamicTemplate operation
-
receiveResultdisableTracing
public void receiveResultdisableTracing(String result)
auto generated Axis2 call back method for disableTracing method override this method for handling normal response from disableTracing operation
-
receiveErrordisableTracing
public void receiveErrordisableTracing(Exception e)
auto generated Axis2 Error handler override this method for handling error response from disableTracing operation
-
-