public class Database2JdbcDatasourceTransformer extends java.lang.Object implements DataSourceDefinitionTransformer<javax.sql.DataSource>
Constructor and Description |
---|
Database2JdbcDatasourceTransformer(DbPoolService dbPoolService) |
Modifier and Type | Method and Description |
---|---|
boolean |
consumes(DatasourceContainerProvider containerProvider,
java.lang.Class<?> dst) |
javax.sql.DataSource |
transform(DatasourceContainerProvider containerProvider,
java.lang.Class<?> dst,
ParameterSet parameters) |
public Database2JdbcDatasourceTransformer(DbPoolService dbPoolService)
public boolean consumes(DatasourceContainerProvider containerProvider, java.lang.Class<?> dst)
consumes
in interface DataSourceDefinitionTransformer<javax.sql.DataSource>
public javax.sql.DataSource transform(DatasourceContainerProvider containerProvider, java.lang.Class<?> dst, ParameterSet parameters) throws UnsupportedDriverException, DatabaseConnectionException
transform
in interface DataSourceDefinitionTransformer<javax.sql.DataSource>
UnsupportedDriverException
DatabaseConnectionException