Revision 38515
Added by Jochen Schirrwagen almost 9 years ago
DataTransformerFactory.java | ||
---|---|---|
24 | 24 |
|
25 | 25 |
@Resource(name = "resourceDao") |
26 | 26 |
private ResourceDao resourceDao; |
27 |
|
|
28 |
@Resource(name = "blacklistApi") |
|
29 |
private org.springframework.core.io.Resource blacklistApi; |
|
27 | 30 |
|
28 | 31 |
public SimpleDataTransformer createTransformer(final String ruleid) throws ISLookUpDocumentNotFoundException, ISLookUpException { |
29 | 32 |
// String profile = lookupLocator.getService().getResourceProfile(ruleid); |
30 | 33 |
SimpleDataTransformer transformer = new SimpleDataTransformer(ruleid); |
31 | 34 |
try { |
32 |
transformer.setupEngine(vocabularyRegistry, transformationTemplate, defaultSchema, transformationRuleProfileUtil, resourceDao); |
|
35 |
transformer.setupEngine(vocabularyRegistry, transformationTemplate, defaultSchema, transformationRuleProfileUtil, resourceDao, blacklistApi);
|
|
33 | 36 |
} catch (Exception e) { |
34 | 37 |
throw new IllegalStateException(e); |
35 | 38 |
} |
Also available in: Unified diff
new parameter blacklistApi