public class DbcpDataSourceCreator extends PoolDataSourceCreator
recipes
Constructor and Description |
---|
DbcpDataSourceCreator() |
Modifier and Type | Method and Description |
---|---|
protected <T> T |
build(java.lang.Class<T> clazz,
java.lang.Object instance,
java.util.Properties properties) |
protected <T> T |
build(java.lang.Class<T> clazz,
java.util.Properties properties) |
protected void |
doDestroy(javax.sql.CommonDataSource dataSource) |
javax.sql.DataSource |
managed(java.lang.String name,
javax.sql.CommonDataSource ds) |
javax.sql.DataSource |
pool(java.lang.String name,
javax.sql.DataSource ds,
java.util.Properties properties) |
javax.sql.CommonDataSource |
pool(java.lang.String name,
java.lang.String driver,
java.util.Properties properties) |
cleanProperty, clearRecipe, destroy, poolManaged, poolManaged, poolManagedWithRecovery, trackRecipeFor
public javax.sql.DataSource pool(java.lang.String name, javax.sql.DataSource ds, java.util.Properties properties)
public javax.sql.DataSource managed(java.lang.String name, javax.sql.CommonDataSource ds)
managed
in interface DataSourceCreator
managed
in class PoolDataSourceCreator
public javax.sql.CommonDataSource pool(java.lang.String name, java.lang.String driver, java.util.Properties properties)
protected void doDestroy(javax.sql.CommonDataSource dataSource) throws java.lang.Throwable
doDestroy
in class PoolDataSourceCreator
java.lang.Throwable
protected <T> T build(java.lang.Class<T> clazz, java.util.Properties properties)
build
in class PoolDataSourceCreator
protected <T> T build(java.lang.Class<T> clazz, java.lang.Object instance, java.util.Properties properties)
build
in class PoolDataSourceCreator