Class Axis2RepoManagerCallbackHandler

java.lang.Object
org.wso2.carbon.repomanager.axis2.stub.Axis2RepoManagerCallbackHandler

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

    • clientData

      protected Object clientData
  • Constructor Details

    • Axis2RepoManagerCallbackHandler

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

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

    • getClientData

      public Object getClientData()
      Get the client data
    • receiveResultrestartAxis2Server

      public void receiveResultrestartAxis2Server(boolean result)
      auto generated Axis2 call back method for restartAxis2Server method override this method for handling normal response from restartAxis2Server operation
    • receiveErrorrestartAxis2Server

      public void receiveErrorrestartAxis2Server(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from restartAxis2Server operation
    • receiveResultdownloadArtifact

      public void receiveResultdownloadArtifact(DataHandler result)
      auto generated Axis2 call back method for downloadArtifact method override this method for handling normal response from downloadArtifact operation
    • receiveErrordownloadArtifact

      public void receiveErrordownloadArtifact(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from downloadArtifact operation
    • receiveResultdeleteLib

      public void receiveResultdeleteLib(boolean result)
      auto generated Axis2 call back method for deleteLib method override this method for handling normal response from deleteLib operation
    • receiveErrordeleteLib

      public void receiveErrordeleteLib(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from deleteLib operation
    • receiveResultuploadArtifact

      public void receiveResultuploadArtifact(boolean result)
      auto generated Axis2 call back method for uploadArtifact method override this method for handling normal response from uploadArtifact operation
    • receiveErroruploadArtifact

      public void receiveErroruploadArtifact(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from uploadArtifact operation
    • receiveResultgetDirectoryStructure

      public void receiveResultgetDirectoryStructure(DirectoryStructureMetaData result)
      auto generated Axis2 call back method for getDirectoryStructure method override this method for handling normal response from getDirectoryStructure operation
    • receiveErrorgetDirectoryStructure

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