Interface DataSourcePoolProvider
- 
public interface DataSourcePoolProviderUsed by DataSourcePool to provide data sources of a single type (for example a JDBC DataSource or an LDAPDataSource). 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectgetDataSource(java.lang.String name)Return the named data source, if availablejava.lang.String[]getNames()Returns the names of data sources 
 - 
 
- 
- 
Method Detail
- 
getDataSource
java.lang.Object getDataSource(java.lang.String name)
Return the named data source, if available- Parameters:
 name- Configured name of the data source- Returns:
 - a data source Object, null if not found
 
 
- 
getNames
java.lang.String[] getNames()
Returns the names of data sources- Returns:
 - the names
 
 
 - 
 
 -