public class SimpleDataSourceCreator extends java.lang.Object implements DataSourceCreator
Constructor and Description |
---|
SimpleDataSourceCreator() |
Modifier and Type | Method and Description |
---|---|
ObjectRecipe |
clearRecipe(java.lang.Object object) |
void |
destroy(java.lang.Object object) |
javax.sql.DataSource |
managed(java.lang.String name,
javax.sql.CommonDataSource ds) |
javax.sql.DataSource |
pool(java.lang.String name,
javax.sql.DataSource ds,
java.util.Properties properties) |
javax.sql.CommonDataSource |
pool(java.lang.String name,
java.lang.String driver,
java.util.Properties properties) |
javax.sql.DataSource |
poolManaged(java.lang.String name,
javax.sql.DataSource ds,
java.util.Properties properties) |
javax.sql.DataSource |
poolManaged(java.lang.String name,
java.lang.String driver,
java.util.Properties properties) |
javax.sql.DataSource |
poolManagedWithRecovery(java.lang.String name,
XAResourceWrapper xaResourceWrapper,
java.lang.String driver,
java.util.Properties properties) |
public javax.sql.DataSource managed(java.lang.String name, javax.sql.CommonDataSource ds)
managed
in interface DataSourceCreator
public javax.sql.DataSource poolManaged(java.lang.String name, javax.sql.DataSource ds, java.util.Properties properties)
poolManaged
in interface DataSourceCreator
public javax.sql.DataSource pool(java.lang.String name, javax.sql.DataSource ds, java.util.Properties properties)
pool
in interface DataSourceCreator
public javax.sql.DataSource poolManagedWithRecovery(java.lang.String name, XAResourceWrapper xaResourceWrapper, java.lang.String driver, java.util.Properties properties)
poolManagedWithRecovery
in interface DataSourceCreator
public javax.sql.DataSource poolManaged(java.lang.String name, java.lang.String driver, java.util.Properties properties)
poolManaged
in interface DataSourceCreator
public javax.sql.CommonDataSource pool(java.lang.String name, java.lang.String driver, java.util.Properties properties)
pool
in interface DataSourceCreator
public void destroy(java.lang.Object object) throws java.lang.Throwable
destroy
in interface DataSourceCreator
java.lang.Throwable
public ObjectRecipe clearRecipe(java.lang.Object object)
clearRecipe
in interface DataSourceCreator