Class ServiceDataPublisherAdminCallbackHandler

java.lang.Object
org.wso2.carbon.bam.service.data.publisher.stub.ServiceDataPublisherAdminCallbackHandler

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

    • clientData

      protected Object clientData
  • Constructor Details

    • ServiceDataPublisherAdminCallbackHandler

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

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

    • getClientData

      public Object getClientData()
      Get the client data
    • receiveResultgetRestAPIConfigData

      public void receiveResultgetRestAPIConfigData(RESTAPIConfigData result)
      auto generated Axis2 call back method for getRestAPIConfigData method override this method for handling normal response from getRestAPIConfigData operation
    • receiveErrorgetRestAPIConfigData

      public void receiveErrorgetRestAPIConfigData(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getRestAPIConfigData operation
    • receiveResultisCloudDeployment

      public void receiveResultisCloudDeployment(boolean result)
      auto generated Axis2 call back method for isCloudDeployment method override this method for handling normal response from isCloudDeployment operation
    • receiveErrorisCloudDeployment

      public void receiveErrorisCloudDeployment(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from isCloudDeployment operation
    • receiveResultgetAnalyzingConfigData

      public void receiveResultgetAnalyzingConfigData(AnalyzingConfigData result)
      auto generated Axis2 call back method for getAnalyzingConfigData method override this method for handling normal response from getAnalyzingConfigData operation
    • receiveErrorgetAnalyzingConfigData

      public void receiveErrorgetAnalyzingConfigData(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getAnalyzingConfigData operation
    • receiveResultgetEventingConfigData

      public void receiveResultgetEventingConfigData(EventingConfigData result)
      auto generated Axis2 call back method for getEventingConfigData method override this method for handling normal response from getEventingConfigData operation
    • receiveErrorgetEventingConfigData

      public void receiveErrorgetEventingConfigData(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getEventingConfigData operation
    • receiveResultgetServerConfigBAMServerURL

      public void receiveResultgetServerConfigBAMServerURL(String result)
      auto generated Axis2 call back method for getServerConfigBAMServerURL method override this method for handling normal response from getServerConfigBAMServerURL operation
    • receiveErrorgetServerConfigBAMServerURL

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