org.apache.openejb.resource.jdbc.dbcp
Class DbcpDataSourceCreator
java.lang.Object
org.apache.openejb.resource.jdbc.pool.PoolDataSourceCreator
org.apache.openejb.resource.jdbc.dbcp.DbcpDataSourceCreator
- All Implemented Interfaces:
- DataSourceCreator
- Direct Known Subclasses:
- DefaultDataSourceCreator
public class DbcpDataSourceCreator
- extends PoolDataSourceCreator
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbcpDataSourceCreator
public DbcpDataSourceCreator()
pool
public DataSource pool(String name,
DataSource ds,
Properties properties)
managed
public DataSource managed(String name,
CommonDataSource ds)
- Specified by:
managed in interface DataSourceCreator- Overrides:
managed in class PoolDataSourceCreator
pool
public CommonDataSource pool(String name,
String driver,
Properties properties)
doDestroy
protected void doDestroy(CommonDataSource dataSource)
throws Throwable
- Specified by:
doDestroy in class PoolDataSourceCreator
- Throws:
Throwable
build
protected <T> T build(Class<T> clazz,
Properties properties)
- Overrides:
build in class PoolDataSourceCreator
build
protected <T> T build(Class<T> clazz,
Object instance,
Properties properties)
- Overrides:
build in class PoolDataSourceCreator
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.