Class ApplicationAdminCallbackHandler
- java.lang.Object
-
- org.wso2.carbon.application.mgt.stub.ApplicationAdminCallbackHandler
-
public abstract class ApplicationAdminCallbackHandler extends Object
ApplicationAdminCallbackHandler 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 ApplicationAdminCallbackHandler()
Please use this constructor if you don't want to set any clientDataApplicationAdminCallbackHandler(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
receiveErrordownloadCappArchive(Exception e)
auto generated Axis2 Error handler override this method for handling error response from downloadCappArchive operationvoid
receiveErrorgetAppData(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getAppData operationvoid
receiveErrorgetFaultException(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getFaultException operationvoid
receiveErrorlistAllApplications(Exception e)
auto generated Axis2 Error handler override this method for handling error response from listAllApplications operationvoid
receiveErrorlistAllFaultyApplications(Exception e)
auto generated Axis2 Error handler override this method for handling error response from listAllFaultyApplications operationvoid
receiveResultdownloadCappArchive(DataHandler result)
auto generated Axis2 call back method for downloadCappArchive method override this method for handling normal response from downloadCappArchive operationvoid
receiveResultgetAppData(ApplicationMetadata result)
auto generated Axis2 call back method for getAppData method override this method for handling normal response from getAppData operationvoid
receiveResultgetFaultException(String result)
auto generated Axis2 call back method for getFaultException method override this method for handling normal response from getFaultException operationvoid
receiveResultlistAllApplications(String[] result)
auto generated Axis2 call back method for listAllApplications method override this method for handling normal response from listAllApplications operationvoid
receiveResultlistAllFaultyApplications(String[] result)
auto generated Axis2 call back method for listAllFaultyApplications method override this method for handling normal response from listAllFaultyApplications operation
-
-
-
Field Detail
-
clientData
protected Object clientData
-
-
Constructor Detail
-
ApplicationAdminCallbackHandler
public ApplicationAdminCallbackHandler(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.
-
ApplicationAdminCallbackHandler
public ApplicationAdminCallbackHandler()
Please use this constructor if you don't want to set any clientData
-
-
Method Detail
-
getClientData
public Object getClientData()
Get the client data
-
receiveResultlistAllFaultyApplications
public void receiveResultlistAllFaultyApplications(String[] result)
auto generated Axis2 call back method for listAllFaultyApplications method override this method for handling normal response from listAllFaultyApplications operation
-
receiveErrorlistAllFaultyApplications
public void receiveErrorlistAllFaultyApplications(Exception e)
auto generated Axis2 Error handler override this method for handling error response from listAllFaultyApplications operation
-
receiveResultlistAllApplications
public void receiveResultlistAllApplications(String[] result)
auto generated Axis2 call back method for listAllApplications method override this method for handling normal response from listAllApplications operation
-
receiveErrorlistAllApplications
public void receiveErrorlistAllApplications(Exception e)
auto generated Axis2 Error handler override this method for handling error response from listAllApplications operation
-
receiveResultgetFaultException
public void receiveResultgetFaultException(String result)
auto generated Axis2 call back method for getFaultException method override this method for handling normal response from getFaultException operation
-
receiveErrorgetFaultException
public void receiveErrorgetFaultException(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getFaultException operation
-
receiveResultdownloadCappArchive
public void receiveResultdownloadCappArchive(DataHandler result)
auto generated Axis2 call back method for downloadCappArchive method override this method for handling normal response from downloadCappArchive operation
-
receiveErrordownloadCappArchive
public void receiveErrordownloadCappArchive(Exception e)
auto generated Axis2 Error handler override this method for handling error response from downloadCappArchive operation
-
receiveResultgetAppData
public void receiveResultgetAppData(ApplicationMetadata result)
auto generated Axis2 call back method for getAppData method override this method for handling normal response from getAppData operation
-
receiveErrorgetAppData
public void receiveErrorgetAppData(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getAppData operation
-
-