com.onewebsql.dao
Interface DBAdapterMapper

All Known Implementing Classes:
DefaultDBAdapterMapper

public interface DBAdapterMapper

Interface of a class mapping data sources to database adapters.


Method Summary
 Set<String> getDataSourceNames()
          Returns the set of data source names managed by this mapper.
 DBAdapter getDBAdapter(String dataSourceName)
          Returns the adapter mapper for the specified data source.
 Map<String,DBAdapter> getDBAdapters()
          Returns a map containing all database adapters managed by this mapper.
 

Method Detail

getDataSourceNames

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

Returns:
the set of data source names managed by this mapper.

getDBAdapter

DBAdapter getDBAdapter(String dataSourceName)
Returns the adapter mapper for the specified data source.

Parameters:
dataSourceName - data source
Returns:
the adapter mapper for the specified data source

getDBAdapters

Map<String,DBAdapter> getDBAdapters()
Returns a map containing all database adapters managed by this mapper.

Returns:
a map containg all database adapters managed by this mapper


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