public class Database2JasperTransformer extends java.lang.Object implements DataSourceDefinitionTransformer<JRDataSource>
DatasourceDefinition
and transforms it into the corresponding JRDataSource.Constructor and Description |
---|
Database2JasperTransformer(DbPoolService dbPoolService) |
Modifier and Type | Method and Description |
---|---|
boolean |
consumes(DatasourceContainerProvider containerProvider,
java.lang.Class<?> dst) |
JRDataSource |
transform(DatasourceContainerProvider containerProvider,
java.lang.Class<?> dst,
ParameterSet parameters) |
public Database2JasperTransformer(DbPoolService dbPoolService)
public boolean consumes(DatasourceContainerProvider containerProvider, java.lang.Class<?> dst)
consumes
in interface DataSourceDefinitionTransformer<JRDataSource>
public JRDataSource transform(DatasourceContainerProvider containerProvider, java.lang.Class<?> dst, ParameterSet parameters)
transform
in interface DataSourceDefinitionTransformer<JRDataSource>