Added re-caching VC at closing-index service, resolved #44
Change-Id: I72bc0980da63f64f50b9bf92787550a9401fd1c3
diff --git a/lite/src/main/java/de/ids_mannheim/de/init/VCLoaderImpl.java b/lite/src/main/java/de/ids_mannheim/de/init/VCLoaderImpl.java
new file mode 100644
index 0000000..b015e43
--- /dev/null
+++ b/lite/src/main/java/de/ids_mannheim/de/init/VCLoaderImpl.java
@@ -0,0 +1,11 @@
+package de.ids_mannheim.de.init;
+
+public class VCLoaderImpl implements VCLoader {
+
+ @Override
+ public void recachePredefinedVC () {
+ // TODO Auto-generated method stub
+
+ }
+
+}
diff --git a/lite/src/main/resources/lite-config.xml b/lite/src/main/resources/lite-config.xml
index a180563..e474b65 100644
--- a/lite/src/main/resources/lite-config.xml
+++ b/lite/src/main/resources/lite-config.xml
@@ -131,6 +131,8 @@
<bean id="annotationParser" class="de.ids_mannheim.korap.annotation.AnnotationParser"
scope="singleton" />
+ <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/lite/src/test/resources/test-config.xml b/lite/src/test/resources/test-config.xml
index a012e26..ba6713b 100644
--- a/lite/src/test/resources/test-config.xml
+++ b/lite/src/test/resources/test-config.xml
@@ -129,6 +129,8 @@
<bean id="annotationParser" class="de.ids_mannheim.korap.annotation.AnnotationParser"
scope="singleton" />
+ <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}" />