Class NDataSourceAdminCallbackHandler
java.lang.Object
org.wso2.carbon.ndatasource.ui.stub.NDataSourceAdminCallbackHandler
NDataSourceAdminCallbackHandler Callback class, Users can extend this class and implement
their own receiveResult and receiveError methods.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPlease use this constructor if you don't want to set any clientDataNDataSourceAdminCallbackHandler(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. -
Method Summary
Modifier and TypeMethodDescriptionGet the client datavoidauto generated Axis2 Error handler override this method for handling error response from addDataSource operationvoidauto generated Axis2 Error handler override this method for handling error response from deleteDataSource operationvoidauto generated Axis2 Error handler override this method for handling error response from getAllDataSources operationvoidauto generated Axis2 Error handler override this method for handling error response from getAllDataSourcesForType operationvoidauto generated Axis2 Error handler override this method for handling error response from getDataSource operationvoidauto generated Axis2 Error handler override this method for handling error response from getDataSourceTypes operationvoidauto generated Axis2 Error handler override this method for handling error response from reloadAllDataSources operationvoidauto generated Axis2 Error handler override this method for handling error response from reloadDataSource operationvoidauto generated Axis2 Error handler override this method for handling error response from testDataSourceConnection operationvoidreceiveResultaddDataSource(boolean result) auto generated Axis2 call back method for addDataSource method override this method for handling normal response from addDataSource operationvoidreceiveResultdeleteDataSource(boolean result) auto generated Axis2 call back method for deleteDataSource method override this method for handling normal response from deleteDataSource operationvoidauto generated Axis2 call back method for getAllDataSources method override this method for handling normal response from getAllDataSources operationvoidauto generated Axis2 call back method for getAllDataSourcesForType method override this method for handling normal response from getAllDataSourcesForType operationvoidauto generated Axis2 call back method for getDataSource method override this method for handling normal response from getDataSource operationvoidreceiveResultgetDataSourceTypes(String[] result) auto generated Axis2 call back method for getDataSourceTypes method override this method for handling normal response from getDataSourceTypes operationvoidreceiveResultreloadAllDataSources(boolean result) auto generated Axis2 call back method for reloadAllDataSources method override this method for handling normal response from reloadAllDataSources operationvoidreceiveResultreloadDataSource(boolean result) auto generated Axis2 call back method for reloadDataSource method override this method for handling normal response from reloadDataSource operationvoidreceiveResulttestDataSourceConnection(boolean result) auto generated Axis2 call back method for testDataSourceConnection method override this method for handling normal response from testDataSourceConnection operation
-
Field Details
-
clientData
-
-
Constructor Details
-
NDataSourceAdminCallbackHandler
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
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
auto generated Axis2 Error handler override this method for handling error response from reloadDataSource operation -
receiveResultgetDataSourceTypes
auto generated Axis2 call back method for getDataSourceTypes method override this method for handling normal response from getDataSourceTypes operation -
receiveErrorgetDataSourceTypes
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
auto generated Axis2 Error handler override this method for handling error response from reloadAllDataSources operation -
receiveResultgetAllDataSourcesForType
auto generated Axis2 call back method for getAllDataSourcesForType method override this method for handling normal response from getAllDataSourcesForType operation -
receiveErrorgetAllDataSourcesForType
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
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
auto generated Axis2 Error handler override this method for handling error response from deleteDataSource operation -
receiveResultgetDataSource
auto generated Axis2 call back method for getDataSource method override this method for handling normal response from getDataSource operation -
receiveErrorgetDataSource
auto generated Axis2 Error handler override this method for handling error response from getDataSource operation -
receiveResultgetAllDataSources
auto generated Axis2 call back method for getAllDataSources method override this method for handling normal response from getAllDataSources operation -
receiveErrorgetAllDataSources
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
auto generated Axis2 Error handler override this method for handling error response from testDataSourceConnection operation
-