public class ScriptDatasourceTransformer extends java.lang.Object implements DataSourceDefinitionTransformer<java.lang.Object>
Constructor and Description |
---|
ScriptDatasourceTransformer(TerminalService terminalService,
ScriptingService scriptingService,
ResultCacheService resultCacheService,
HookHandlerService hookHandlerService) |
Modifier and Type | Method and Description |
---|---|
boolean |
consumes(DatasourceContainerProvider containerProvider,
java.lang.Class<?> dst) |
java.lang.Object |
transform(DatasourceContainerProvider containerProvider,
java.lang.Class<?> dst,
ParameterSet parameters) |
public ScriptDatasourceTransformer(TerminalService terminalService, ScriptingService scriptingService, ResultCacheService resultCacheService, HookHandlerService hookHandlerService)
public boolean consumes(DatasourceContainerProvider containerProvider, java.lang.Class<?> dst)
consumes
in interface DataSourceDefinitionTransformer<java.lang.Object>
public java.lang.Object transform(DatasourceContainerProvider containerProvider, java.lang.Class<?> dst, ParameterSet parameters) throws UnsupportedDriverException, DatabaseConnectionException
transform
in interface DataSourceDefinitionTransformer<java.lang.Object>
UnsupportedDriverException
DatabaseConnectionException