final Class<IDatasourceProcessor> clazz =
(Class<IDatasourceProcessor>)
Class.forName(processor);
final Constructor<IDatasourceProcessor> ctor =
clazz.getConstructor();
final IDatasourceProcessor dsProcessor = ctor.newInstance();
datasource = dsProcessor.process(datasource);
} catch (Exception e) {
throw new SaikuServiceException("Error applying DatasourceProcessor \"" + processor + "\"", e);
}
}
}