blob: 6b1fa49133845aa1f3f6f9f1293cc3f927e17271 [file] [log] [blame]
Michael Hanl72c7b832015-09-03 08:42:15 +02001<?xml version="1.0" encoding="UTF-8"?>
2<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xmlns:util="http://www.springframework.org/schema/util"
margarethaf68daa62017-09-21 02:11:24 +02004 xmlns:context="http://www.springframework.org/schema/context"
Michael Hanl72c7b832015-09-03 08:42:15 +02005 xmlns="http://www.springframework.org/schema/beans"
6 xsi:schemaLocation="http://www.springframework.org/schema/beans
margarethaf68daa62017-09-21 02:11:24 +02007 http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
8 http://www.springframework.org/schema/context
9 http://www.springframework.org/schema/context/spring-context-4.0.xsd
10 http://www.springframework.org/schema/util
11 http://www.springframework.org/schema/util/spring-util-4.0.xsd">
Michael Hanl72c7b832015-09-03 08:42:15 +020012
13
margarethaf68daa62017-09-21 02:11:24 +020014 <context:component-scan base-package="de.ids_mannheim.korap" />
15 <context:annotation-config />
Michael Hanld6eadd52015-11-11 18:30:33 +010016
margarethaf68daa62017-09-21 02:11:24 +020017 <bean id="properties"
Michael Hanld6eadd52015-11-11 18:30:33 +010018 class="org.springframework.beans.factory.config.PropertiesFactoryBean">
19 <property name="ignoreResourceNotFound" value="true"/>
20 <property name="locations">
21 <array>
margarethaf68daa62017-09-21 02:11:24 +020022 <value>classpath:kustvakt-lite.conf</value>
23 <value>file:./kustvakt-lite.conf</value>
Michael Hanld6eadd52015-11-11 18:30:33 +010024 </array>
25 </property>
26 </bean>
margarethaf68daa62017-09-21 02:11:24 +020027
28 <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
29 <property name="properties">
30 <ref bean="properties"/>
31 </property>
32 </bean>
Michael Hanl72c7b832015-09-03 08:42:15 +020033
34 <bean id="kustvakt_auditing"
35 class="de.ids_mannheim.korap.interfaces.defaults.DefaultAuditing">
36 </bean>
margaretha894a7d72017-11-08 19:24:20 +010037
38 <bean id="kustvakt_response"
39 class="de.ids_mannheim.korap.web.utils.KustvaktResponseHandler">
40 <constructor-arg index="0" name="iface" ref="kustvakt_auditing"/>
41 </bean>
Michael Hanl72c7b832015-09-03 08:42:15 +020042
43 <bean id="kustvakt_config"
44 class="de.ids_mannheim.korap.config.KustvaktConfiguration">
margarethaf68daa62017-09-21 02:11:24 +020045 <constructor-arg index="0" name="properties" ref="properties"/>
Michael Hanl72c7b832015-09-03 08:42:15 +020046 </bean>
47
48 <bean name="kustvakt_encryption"
49 class="de.ids_mannheim.korap.interfaces.defaults.DefaultEncryption">
50 </bean>
margarethaf68daa62017-09-21 02:11:24 +020051
52 <bean id="search_krill"
53 class="de.ids_mannheim.korap.web.SearchKrill">
54 <constructor-arg value="${krill.indexDir}"/>
55 </bean>
56
Michael Hanl72c7b832015-09-03 08:42:15 +020057</beans>