public interface ConnectionPool
Modifier and Type | Method and Description |
---|---|
void |
close(javax.sql.DataSource dataSource)
Close the given data source.
|
javax.sql.DataSource |
create(java.lang.String name,
Configuration configuration,
java.lang.ClassLoader classLoader)
Create a data source with the given configuration.
|
javax.sql.DataSource create(java.lang.String name, Configuration configuration, java.lang.ClassLoader classLoader)
name
- the database nameconfiguration
- the data source configurationclassLoader
- the database class loadervoid close(javax.sql.DataSource dataSource)
dataSource
- the data source to close