Removed VCLoader.
Change-Id: Ieb93cc690d37c14d2f3bff95706863a959a1f5b8
diff --git a/full/src/main/java/de/ids_mannheim/de/init/VCLoaderImpl.java b/full/src/main/java/de/ids_mannheim/de/init/VCLoaderImpl.java
deleted file mode 100644
index 6c00e4c..0000000
--- a/full/src/main/java/de/ids_mannheim/de/init/VCLoaderImpl.java
+++ /dev/null
@@ -1,19 +0,0 @@
-package de.ids_mannheim.de.init;
-
-import org.springframework.beans.factory.annotation.Autowired;
-
-import de.ids_mannheim.korap.KrillCollection;
-import de.ids_mannheim.korap.config.NamedVCLoader;
-
-public class VCLoaderImpl implements VCLoader{
-
- @Autowired
- private NamedVCLoader vcLoader;
-
- @Override
- public void recachePredefinedVC () {
-// KrillCollection.cache.removeAll();
- Thread t = new Thread(vcLoader);
- t.start();
- }
-}
diff --git a/full/src/main/resources/default-config.xml b/full/src/main/resources/default-config.xml
index f5c1352..86f686e 100644
--- a/full/src/main/resources/default-config.xml
+++ b/full/src/main/resources/default-config.xml
@@ -115,7 +115,7 @@
<!-- <property name="dataSource" ref="dataSource" /> -->
<property name="dataSource" ref="sqliteDataSource" />
<!-- <property name="dataSource" ref="c3p0DataSource" /> -->
-
+ <property name="outOfOrder" value="true" />
</bean>
<bean id="flyway" class="org.flywaydb.core.Flyway" init-method="migrate">
@@ -198,8 +198,6 @@
init-method="init">
</bean>
- <bean id="vcLoader" class="de.ids_mannheim.de.init.VCLoaderImpl"/>
-
<!-- Krill -->
<bean id="search_krill" class="de.ids_mannheim.korap.web.SearchKrill">
<constructor-arg value="${krill.indexDir}" />
diff --git a/full/src/test/resources/test-config.xml b/full/src/test/resources/test-config.xml
index de438a1..dbcd8b9 100644
--- a/full/src/test/resources/test-config.xml
+++ b/full/src/test/resources/test-config.xml
@@ -105,6 +105,7 @@
<property name="locations" value="#{'${jdbc.schemaPath}'.split(',')}"/>
<property name="dataSource" ref="sqliteDataSource" />
<!-- <property name="dataSource" ref="dataSource" /> -->
+ <property name="outOfOrder" value="true" />
</bean>
<bean id="flyway" class="org.flywaydb.core.Flyway" init-method="migrate">
@@ -179,8 +180,6 @@
init-method="initTest">
</bean>
- <bean id="vcLoader" class="de.ids_mannheim.de.init.VCLoaderImpl"/>
-
<!-- Krill -->
<bean id="search_krill" class="de.ids_mannheim.korap.web.SearchKrill">
<constructor-arg value="${krill.indexDir}" />