com.onewebsql.util.jdbc
Interface DataSourceManager

All Known Implementing Classes:
DefaultDataSourceManager

public interface DataSourceManager

Data source manager interface.


Method Summary
 DataSource getDataSource(String dataSourceName)
          Returns the data source with the specified name.
 Set<String> getDataSourceNames()
          Returns the set of data source names managed by this manager.
 Map<String,DataSource> getDataSources()
          Returns the map of all available data sources.
 

Method Detail

getDataSourceNames

Set<String> getDataSourceNames()
Returns the set of data source names managed by this manager.

Returns:
the set of data source names managed by this manager

getDataSource

DataSource getDataSource(String dataSourceName)
Returns the data source with the specified name.

Parameters:
dataSourceName - name of the data source
Returns:
data source with the specified name.

getDataSources

Map<String,DataSource> getDataSources()
Returns the map of all available data sources.

Returns:
map of all available data sources.


Copyright © 2011-2013 e-point SA. All Rights Reserved.