public abstract class NDataSourceAdminCallbackHandler extends Object
Modifier and Type | Field and Description |
---|---|
protected Object |
clientData |
Constructor and Description |
---|
NDataSourceAdminCallbackHandler()
Please use this constructor if you don't want to set any clientData
|
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.
|
Modifier and Type | Method and Description |
---|---|
Object |
getClientData()
Get the client data
|
void |
receiveErroraddDataSource(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from addDataSource operation
|
void |
receiveErrordeleteDataSource(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from deleteDataSource operation
|
void |
receiveErrorgetAllDataSources(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from getAllDataSources operation
|
void |
receiveErrorgetAllDataSourcesForType(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from getAllDataSourcesForType operation
|
void |
receiveErrorgetDataSource(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from getDataSource operation
|
void |
receiveErrorgetDataSourceTypes(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from getDataSourceTypes operation
|
void |
receiveErrorreloadAllDataSources(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from reloadAllDataSources operation
|
void |
receiveErrorreloadDataSource(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from reloadDataSource operation
|
void |
receiveErrortestDataSourceConnection(Exception e)
auto generated Axis2 Error handler
override this method for handling error response from testDataSourceConnection operation
|
void |
receiveResultaddDataSource(boolean result)
auto generated Axis2 call back method for addDataSource method
override this method for handling normal response from addDataSource operation
|
void |
receiveResultdeleteDataSource(boolean result)
auto generated Axis2 call back method for deleteDataSource method
override this method for handling normal response from deleteDataSource operation
|
void |
receiveResultgetAllDataSources(WSDataSourceInfo[] result)
auto generated Axis2 call back method for getAllDataSources method
override this method for handling normal response from getAllDataSources operation
|
void |
receiveResultgetAllDataSourcesForType(WSDataSourceInfo[] result)
auto generated Axis2 call back method for getAllDataSourcesForType method
override this method for handling normal response from getAllDataSourcesForType operation
|
void |
receiveResultgetDataSource(WSDataSourceInfo result)
auto generated Axis2 call back method for getDataSource method
override this method for handling normal response from getDataSource operation
|
void |
receiveResultgetDataSourceTypes(String[] result)
auto generated Axis2 call back method for getDataSourceTypes method
override this method for handling normal response from getDataSourceTypes operation
|
void |
receiveResultreloadAllDataSources(boolean result)
auto generated Axis2 call back method for reloadAllDataSources method
override this method for handling normal response from reloadAllDataSources operation
|
void |
receiveResultreloadDataSource(boolean result)
auto generated Axis2 call back method for reloadDataSource method
override this method for handling normal response from reloadDataSource operation
|
void |
receiveResulttestDataSourceConnection(boolean result)
auto generated Axis2 call back method for testDataSourceConnection method
override this method for handling normal response from testDataSourceConnection operation
|
protected Object clientData
public NDataSourceAdminCallbackHandler(Object clientData)
clientData
- Object mechanism by which the user can pass in user data
that will be avilable at the time this callback is called.public NDataSourceAdminCallbackHandler()
public Object getClientData()
public void receiveResultdeleteDataSource(boolean result)
public void receiveErrordeleteDataSource(Exception e)
public void receiveResultgetAllDataSources(WSDataSourceInfo[] result)
public void receiveErrorgetAllDataSources(Exception e)
public void receiveResultgetDataSourceTypes(String[] result)
public void receiveErrorgetDataSourceTypes(Exception e)
public void receiveResulttestDataSourceConnection(boolean result)
public void receiveErrortestDataSourceConnection(Exception e)
public void receiveResultreloadAllDataSources(boolean result)
public void receiveErrorreloadAllDataSources(Exception e)
public void receiveResultgetAllDataSourcesForType(WSDataSourceInfo[] result)
public void receiveErrorgetAllDataSourcesForType(Exception e)
public void receiveResultaddDataSource(boolean result)
public void receiveErroraddDataSource(Exception e)
public void receiveResultgetDataSource(WSDataSourceInfo result)
public void receiveErrorgetDataSource(Exception e)
public void receiveResultreloadDataSource(boolean result)
public void receiveErrorreloadDataSource(Exception e)
Copyright © 2017 WSO2. All rights reserved.