org.apache.openejb.resource.jdbc.dbcp
Class DbcpDataSourceCreator

java.lang.Object
  extended by org.apache.openejb.resource.jdbc.pool.PoolDataSourceCreator
      extended by org.apache.openejb.resource.jdbc.dbcp.DbcpDataSourceCreator
All Implemented Interfaces:
DataSourceCreator
Direct Known Subclasses:
DefaultDataSourceCreator

public class DbcpDataSourceCreator
extends PoolDataSourceCreator


Constructor Summary
DbcpDataSourceCreator()
           
 
Method Summary
protected  void doDestroy(DataSource dataSource)
           
 DataSource pool(String name, DataSource ds, Properties properties)
           
 DataSource pool(String name, String driver, Properties properties)
           
 
Methods inherited from class org.apache.openejb.resource.jdbc.pool.PoolDataSourceCreator
build, build, clearRecipe, destroy, managed, poolManaged, poolManaged, poolManagedWithRecovery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbcpDataSourceCreator

public DbcpDataSourceCreator()
Method Detail

pool

public DataSource pool(String name,
                       DataSource ds,
                       Properties properties)

pool

public DataSource pool(String name,
                       String driver,
                       Properties properties)

doDestroy

protected void doDestroy(DataSource dataSource)
                  throws Throwable
Specified by:
doDestroy in class PoolDataSourceCreator
Throws:
Throwable


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.