public class DbcpDataSourceCreator extends PoolDataSourceCreator
recipes| Constructor and Description |
|---|
DbcpDataSourceCreator() |
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
build(Class<T> clazz,
Object instance,
Properties properties) |
protected <T> T |
build(Class<T> clazz,
Properties properties) |
protected void |
doDestroy(CommonDataSource dataSource) |
DataSource |
managed(String name,
CommonDataSource ds) |
DataSource |
pool(String name,
DataSource ds,
Properties properties) |
CommonDataSource |
pool(String name,
String driver,
Properties properties) |
cleanProperty, clearRecipe, destroy, poolManaged, poolManaged, poolManagedWithRecoverypublic DataSource pool(String name, DataSource ds, Properties properties)
public DataSource managed(String name, CommonDataSource ds)
managed in interface DataSourceCreatormanaged in class PoolDataSourceCreatorpublic CommonDataSource pool(String name, String driver, Properties properties)
protected void doDestroy(CommonDataSource dataSource) throws Throwable
doDestroy in class PoolDataSourceCreatorThrowableprotected <T> T build(Class<T> clazz, Properties properties)
build in class PoolDataSourceCreatorprotected <T> T build(Class<T> clazz, Object instance, Properties properties)
build in class PoolDataSourceCreatorCopyright © 1999–2014 The Apache Software Foundation. All rights reserved.