Interface DataSourcePoolProvider
public interface DataSourcePoolProvider
Used by DataSourcePool to provide data sources of
a single type (for example a JDBC DataSource or an
LDAPDataSource).
-
Method Summary
Modifier and TypeMethodDescriptiongetDataSource(String name) Return the named data source, if availableString[]getNames()Returns the names of data sources
-
Method Details
-
getDataSource
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
String[] getNames()Returns the names of data sources- Returns:
- the names
-