return ds;
}
@Override
public DataSource poolManagedWithRecovery(final String name, final XAResourceWrapper xaResourceWrapper, final String driver, final Properties properties) {
final BasicManagedDataSource ds = new ManagedDataSourceWithRecovery(name, xaResourceWrapper);
ds.setDriverClassName(driver);
build(BasicManagedDataSource.class, ds, properties);
return ds;
}