diff --git a/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/genedata/FeatureStorageProcessor.java b/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/genedata/FeatureStorageProcessor.java index 88663be9d7a23ea0cba4c8a5a55eaff7286990f8..8dbc600d523d2d898fecb82060599c0b4fffac15 100644 --- a/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/genedata/FeatureStorageProcessor.java +++ b/screening/source/java/ch/systemsx/cisd/openbis/dss/etl/genedata/FeatureStorageProcessor.java @@ -155,7 +155,7 @@ public class FeatureStorageProcessor extends AbstractDelegatingStorageProcessor { super(properties); this.dataSource = createDataSource(properties); - this.openBisService = ServiceProvider.getOpenBISService(); + this.openBisService = createOpenBisService(); } protected DataSource createDataSource(Properties properties) @@ -163,6 +163,11 @@ public class FeatureStorageProcessor extends AbstractDelegatingStorageProcessor return ServiceProvider.getDataSourceProvider().getDataSource(properties); } + protected IEncapsulatedOpenBISService createOpenBisService() + { + return ServiceProvider.getOpenBISService(); + } + @Override public File storeData(DataSetInformation dataSetInformation, ITypeExtractor typeExtractor, IMailClient mailClient, File incomingDataSetDirectory, File rootDir)