Class ConfigServiceAdminCallbackHandler

java.lang.Object
org.wso2.carbon.mediation.configadmin.stub.ConfigServiceAdminCallbackHandler

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

    • clientData

      protected Object clientData
  • Constructor Details

    • ConfigServiceAdminCallbackHandler

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

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

    • getClientData

      public Object getClientData()
      Get the client data
    • receiveResultgetConfiguration

      public void receiveResultgetConfiguration(String result)
      auto generated Axis2 call back method for getConfiguration method override this method for handling normal response from getConfiguration operation
    • receiveErrorgetConfiguration

      public void receiveErrorgetConfiguration(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getConfiguration operation
    • receiveResultgetConfigurationList

      public void receiveResultgetConfigurationList(ConfigurationInformation[] result)
      auto generated Axis2 call back method for getConfigurationList method override this method for handling normal response from getConfigurationList operation
    • receiveErrorgetConfigurationList

      public void receiveErrorgetConfigurationList(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getConfigurationList operation
    • receiveResultaddExistingConfiguration

      public void receiveResultaddExistingConfiguration(boolean result)
      auto generated Axis2 call back method for addExistingConfiguration method override this method for handling normal response from addExistingConfiguration operation
    • receiveErroraddExistingConfiguration

      public void receiveErroraddExistingConfiguration(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from addExistingConfiguration operation
    • receiveResultdeleteConfiguration

      public void receiveResultdeleteConfiguration(boolean result)
      auto generated Axis2 call back method for deleteConfiguration method override this method for handling normal response from deleteConfiguration operation
    • receiveErrordeleteConfiguration

      public void receiveErrordeleteConfiguration(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from deleteConfiguration operation
    • receiveResultcreate

      public void receiveResultcreate(boolean result)
      auto generated Axis2 call back method for create method override this method for handling normal response from create operation
    • receiveErrorcreate

      public void receiveErrorcreate(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from create operation
    • receiveResultvalidateConfiguration

      public void receiveResultvalidateConfiguration(ValidationError[] result)
      auto generated Axis2 call back method for validateConfiguration method override this method for handling normal response from validateConfiguration operation
    • receiveErrorvalidateConfiguration

      public void receiveErrorvalidateConfiguration(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from validateConfiguration operation
    • receiveResultactivate

      public void receiveResultactivate(boolean result)
      auto generated Axis2 call back method for activate method override this method for handling normal response from activate operation
    • receiveErroractivate

      public void receiveErroractivate(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from activate operation
    • receiveResultsaveConfigurationToDisk

      public void receiveResultsaveConfigurationToDisk(boolean result)
      auto generated Axis2 call back method for saveConfigurationToDisk method override this method for handling normal response from saveConfigurationToDisk operation
    • receiveErrorsaveConfigurationToDisk

      public void receiveErrorsaveConfigurationToDisk(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from saveConfigurationToDisk operation
    • receiveResultupdateConfiguration

      public void receiveResultupdateConfiguration(boolean result)
      auto generated Axis2 call back method for updateConfiguration method override this method for handling normal response from updateConfiguration operation
    • receiveErrorupdateConfiguration

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