use of org.apache.stanbol.rules.base.api.RuleAdapterManager in project stanbol by apache.
the class RefactoringTest method setUpClass.
@BeforeClass
public static void setUpClass() throws Exception {
// recipeIRI = IRI.create("http://kres.iks-project.eu/ontology/meta/rmi_config.owl#MyTestRecipe");
tcm = TcManager.getInstance();
Dictionary<String, Object> configuration = new Hashtable<String, Object>();
store = new ClerezzaRuleStore(configuration, tcm);
Dictionary<String, Object> configuration2 = new Hashtable<String, Object>();
RuleAdaptersFactory ruleAdaptersFactory = new RuleAdaptersFactoryImpl();
Dictionary<String, Object> configuration3 = new Hashtable<String, Object>();
new ClerezzaAdapter(configuration3, store, ruleAdaptersFactory);
RuleAdapterManager ruleAdapterManager = new RuleAdaptersManagerImpl(configuration2, ruleAdaptersFactory);
Dictionary<String, Object> configuration4 = new Hashtable<String, Object>();
refactorer = new RefactorerImpl(tcm, store, ruleAdapterManager, configuration4);
}
Aggregations