return build(DbcpDataSource.class, new DbcpDataSource(name, ds), properties);
}
@Override
public DataSource pool(final String name, final String driver, final Properties properties) {
final BasicDataSource ds = new BasicDataSource(name);
ds.setDriverClassName(driver);
build(BasicManagedDataSource.class, ds, properties);
return ds;
}