The data source manager defined by the interface
IlpDataSourceManager provides access to the
data sources that it handles.
It provides the following methods:
By default, the data source manager is implemented by the class
IlpDefaultDataSourceManager. This default
implementation maintains a collection of data sources which are
referenced through weak references that do not prevent garbage
collection.
How to use the data source manager through
the API
IlpContext context = ...
IlpDataSourceManager dsMgr = context.getDataSourceManager();
or
IlpDataSourceManager dsMgr = (IlpDataSourceMananger)
context.getService(IlpDataSourceManager.class);
How to Customize the Data Source Manager
Through the API
IlpDefaultContext context = ...
IlpDataSourceManager dsMgr = MyDataSourceManager();
context.addService(IlpDataSourceManager.class, dsMgr);