use of org.apache.stanbol.ontologymanager.core.scope.ScopeManagerImpl in project stanbol by apache.
the class MockOsgiContext method resetManagers.
public static void resetManagers() {
// PersistentCollectorFactory factory = new ClerezzaCollectorFactory(ontologyProvider, config);
onManager = new ScopeManagerImpl(ontologyProvider, offline, collectorfactory, collectorfactory, config);
sessionManager = new SessionManagerImpl(ontologyProvider, offline, config);
}
use of org.apache.stanbol.ontologymanager.core.scope.ScopeManagerImpl in project stanbol by apache.
the class TestOntologyNetworkPersistence method cleanup.
/*
* Before each test, everything is cleaned up, including the TcProvider.
*/
@Before
public void cleanup() throws Exception {
tcp = new SimpleTcProvider();
resetOntologyProvider();
Dictionary<String, Object> empty = new Hashtable<String, Object>();
ClerezzaCollectorFactory factory = new ClerezzaCollectorFactory(ontologyProvider, empty);
onm = new ScopeManagerImpl(ontologyProvider, new OfflineConfigurationImpl(empty), factory, factory, empty);
}
Aggregations