Class NDataSourceAdminCallbackHandler

java.lang.Object
org.wso2.carbon.ndatasource.ui.stub.NDataSourceAdminCallbackHandler

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

    • clientData

      protected Object clientData
  • Constructor Details

    • NDataSourceAdminCallbackHandler

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

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

    • getClientData

      public Object getClientData()
      Get the client data
    • receiveResultreloadDataSource

      public void receiveResultreloadDataSource(boolean result)
      auto generated Axis2 call back method for reloadDataSource method override this method for handling normal response from reloadDataSource operation
    • receiveErrorreloadDataSource

      public void receiveErrorreloadDataSource(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from reloadDataSource operation
    • receiveResultgetDataSourceTypes

      public void receiveResultgetDataSourceTypes(String[] result)
      auto generated Axis2 call back method for getDataSourceTypes method override this method for handling normal response from getDataSourceTypes operation
    • receiveErrorgetDataSourceTypes

      public void receiveErrorgetDataSourceTypes(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getDataSourceTypes operation
    • receiveResultreloadAllDataSources

      public void receiveResultreloadAllDataSources(boolean result)
      auto generated Axis2 call back method for reloadAllDataSources method override this method for handling normal response from reloadAllDataSources operation
    • receiveErrorreloadAllDataSources

      public void receiveErrorreloadAllDataSources(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from reloadAllDataSources operation
    • receiveResultgetAllDataSourcesForType

      public void receiveResultgetAllDataSourcesForType(WSDataSourceInfo[] result)
      auto generated Axis2 call back method for getAllDataSourcesForType method override this method for handling normal response from getAllDataSourcesForType operation
    • receiveErrorgetAllDataSourcesForType

      public void receiveErrorgetAllDataSourcesForType(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getAllDataSourcesForType operation
    • receiveResultaddDataSource

      public void receiveResultaddDataSource(boolean result)
      auto generated Axis2 call back method for addDataSource method override this method for handling normal response from addDataSource operation
    • receiveErroraddDataSource

      public void receiveErroraddDataSource(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from addDataSource operation
    • receiveResultdeleteDataSource

      public void receiveResultdeleteDataSource(boolean result)
      auto generated Axis2 call back method for deleteDataSource method override this method for handling normal response from deleteDataSource operation
    • receiveErrordeleteDataSource

      public void receiveErrordeleteDataSource(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from deleteDataSource operation
    • receiveResultgetDataSource

      public void receiveResultgetDataSource(WSDataSourceInfo result)
      auto generated Axis2 call back method for getDataSource method override this method for handling normal response from getDataSource operation
    • receiveErrorgetDataSource

      public void receiveErrorgetDataSource(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getDataSource operation
    • receiveResultgetAllDataSources

      public void receiveResultgetAllDataSources(WSDataSourceInfo[] result)
      auto generated Axis2 call back method for getAllDataSources method override this method for handling normal response from getAllDataSources operation
    • receiveErrorgetAllDataSources

      public void receiveErrorgetAllDataSources(Exception e)
      auto generated Axis2 Error handler override this method for handling error response from getAllDataSources operation
    • receiveResulttestDataSourceConnection

      public void receiveResulttestDataSourceConnection(boolean result)
      auto generated Axis2 call back method for testDataSourceConnection method override this method for handling normal response from testDataSourceConnection operation
    • receiveErrortestDataSourceConnection

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