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 Details

    • clientData

      protected Object clientData
  • Constructor Details

    • 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 Details

    • 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