Class OperationAdminCallbackHandler

java.lang.Object
org.wso2.carbon.operation.mgt.stub.OperationAdminCallbackHandler

public abstract class OperationAdminCallbackHandler extends Object
OperationAdminCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and receiveError methods.
  • Field Details

    • clientData

      protected Object clientData
  • Constructor Details

    • OperationAdminCallbackHandler

      public OperationAdminCallbackHandler(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.
    • OperationAdminCallbackHandler

      public OperationAdminCallbackHandler()
      Please use this constructor if you don't want to set any clientData
  • Method Details

    • getClientData

      public Object getClientData()
      Get the client data
    • receiveResultlistOperationPhases

      public void receiveResultlistOperationPhases(String[] result)
      auto generated Axis2 call back method for listOperationPhases method override this method for handling normal response from listOperationPhases operation
    • receiveErrorlistOperationPhases

      public void receiveErrorlistOperationPhases(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from listOperationPhases operation
    • receiveResultgetOperationStatistics

      public void receiveResultgetOperationStatistics(OperationMetaData result)
      auto generated Axis2 call back method for getOperationStatistics method override this method for handling normal response from getOperationStatistics operation
    • receiveErrorgetOperationStatistics

      public void receiveErrorgetOperationStatistics(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getOperationStatistics operation
    • receiveResultgetOperationMetaData

      public void receiveResultgetOperationMetaData(OperationMetaData result)
      auto generated Axis2 call back method for getOperationMetaData method override this method for handling normal response from getOperationMetaData operation
    • receiveErrorgetOperationMetaData

      public void receiveErrorgetOperationMetaData(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getOperationMetaData operation
    • receiveResultlistOperationPhaseHandlers

      public void receiveResultlistOperationPhaseHandlers(String[] result)
      auto generated Axis2 call back method for listOperationPhaseHandlers method override this method for handling normal response from listOperationPhaseHandlers operation
    • receiveErrorlistOperationPhaseHandlers

      public void receiveErrorlistOperationPhaseHandlers(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from listOperationPhaseHandlers operation
    • receiveResultgetOperationParameters

      public void receiveResultgetOperationParameters(String[] result)
      auto generated Axis2 call back method for getOperationParameters method override this method for handling normal response from getOperationParameters operation
    • receiveErrorgetOperationParameters

      public void receiveErrorgetOperationParameters(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getOperationParameters operation
    • receiveResultgetDeclaredOperationParameters

      public void receiveResultgetDeclaredOperationParameters(String[] result)
      auto generated Axis2 call back method for getDeclaredOperationParameters method override this method for handling normal response from getDeclaredOperationParameters operation
    • receiveErrorgetDeclaredOperationParameters

      public void receiveErrorgetDeclaredOperationParameters(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getDeclaredOperationParameters operation
    • receiveResultlistControlOperations

      public void receiveResultlistControlOperations(OperationMetaData[] result)
      auto generated Axis2 call back method for listControlOperations method override this method for handling normal response from listControlOperations operation
    • receiveErrorlistControlOperations

      public void receiveErrorlistControlOperations(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from listControlOperations operation
    • receiveResultlistAllOperations

      public void receiveResultlistAllOperations(OperationMetaDataWrapper result)
      auto generated Axis2 call back method for listAllOperations method override this method for handling normal response from listAllOperations operation
    • receiveErrorlistAllOperations

      public void receiveErrorlistAllOperations(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from listAllOperations operation
    • receiveResultlistPublishedOperations

      public void receiveResultlistPublishedOperations(OperationMetaData[] result)
      auto generated Axis2 call back method for listPublishedOperations method override this method for handling normal response from listPublishedOperations operation
    • receiveErrorlistPublishedOperations

      public void receiveErrorlistPublishedOperations(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from listPublishedOperations operation