Class WebappAdminCallbackHandler

java.lang.Object
org.wso2.carbon.webapp.mgt.stub.WebappAdminCallbackHandler

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

    • clientData

      protected Object clientData
  • Constructor Details

    • WebappAdminCallbackHandler

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

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

    • getClientData

      public Object getClientData()
      Get the client data
    • receiveResultgetStartedWebapp

      public void receiveResultgetStartedWebapp(WebappMetadata result)
      auto generated Axis2 call back method for getStartedWebapp method override this method for handling normal response from getStartedWebapp operation
    • receiveErrorgetStartedWebapp

      public void receiveErrorgetStartedWebapp(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getStartedWebapp operation
    • receiveResultgetBamConfiguration

      public void receiveResultgetBamConfiguration(String result)
      auto generated Axis2 call back method for getBamConfiguration method override this method for handling normal response from getBamConfiguration operation
    • receiveErrorgetBamConfiguration

      public void receiveErrorgetBamConfiguration(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getBamConfiguration operation
    • receiveResultgetStoppedWebapp

      public void receiveResultgetStoppedWebapp(WebappMetadata result)
      auto generated Axis2 call back method for getStoppedWebapp method override this method for handling normal response from getStoppedWebapp operation
    • receiveErrorgetStoppedWebapp

      public void receiveErrorgetStoppedWebapp(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getStoppedWebapp operation
    • receiveResultdownloadWarFileHandler

      public void receiveResultdownloadWarFileHandler(DataHandler result)
      auto generated Axis2 call back method for downloadWarFileHandler method override this method for handling normal response from downloadWarFileHandler operation
    • receiveErrordownloadWarFileHandler

      public void receiveErrordownloadWarFileHandler(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from downloadWarFileHandler operation
    • receiveResultisUnpackWARs

      public void receiveResultisUnpackWARs(boolean result)
      auto generated Axis2 call back method for isUnpackWARs method override this method for handling normal response from isUnpackWARs operation
    • receiveErrorisUnpackWARs

      public void receiveErrorisUnpackWARs(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from isUnpackWARs operation
    • receiveResultgetActiveSessions

      public void receiveResultgetActiveSessions(SessionsWrapper result)
      auto generated Axis2 call back method for getActiveSessions method override this method for handling normal response from getActiveSessions operation
    • receiveErrorgetActiveSessions

      public void receiveErrorgetActiveSessions(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getActiveSessions operation
    • receiveResultuploadWebapp

      public void receiveResultuploadWebapp(boolean result)
      auto generated Axis2 call back method for uploadWebapp method override this method for handling normal response from uploadWebapp operation
    • receiveErroruploadWebapp

      public void receiveErroruploadWebapp(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from uploadWebapp operation
    • receiveResultgetPagedFaultyWebappsSummary

      public void receiveResultgetPagedFaultyWebappsSummary(WebappsWrapper result)
      auto generated Axis2 call back method for getPagedFaultyWebappsSummary method override this method for handling normal response from getPagedFaultyWebappsSummary operation
    • receiveErrorgetPagedFaultyWebappsSummary

      public void receiveErrorgetPagedFaultyWebappsSummary(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getPagedFaultyWebappsSummary operation
    • receiveResultisDefaultVersionManagementEnabled

      public void receiveResultisDefaultVersionManagementEnabled(boolean result)
      auto generated Axis2 call back method for isDefaultVersionManagementEnabled method override this method for handling normal response from isDefaultVersionManagementEnabled operation
    • receiveErrorisDefaultVersionManagementEnabled

      public void receiveErrorisDefaultVersionManagementEnabled(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from isDefaultVersionManagementEnabled operation
    • receiveResultgetVhostHolder

      public void receiveResultgetVhostHolder(VhostHolder result)
      auto generated Axis2 call back method for getVhostHolder method override this method for handling normal response from getVhostHolder operation
    • receiveErrorgetVhostHolder

      public void receiveErrorgetVhostHolder(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getVhostHolder operation
    • receiveResultgetPagedWebappsSummary

      public void receiveResultgetPagedWebappsSummary(WebappsWrapper result)
      auto generated Axis2 call back method for getPagedWebappsSummary method override this method for handling normal response from getPagedWebappsSummary operation
    • receiveErrorgetPagedWebappsSummary

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