blob: 3ff2ef1f019b1938bd20a7c707d2f6a38188e41b [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>
37
38 <bean id="kustvakt_config"
39 class="de.ids_mannheim.korap.config.KustvaktConfiguration">
margarethaf68daa62017-09-21 02:11:24 +020040 <constructor-arg index="0" name="properties" ref="properties"/>
Michael Hanl72c7b832015-09-03 08:42:15 +020041 </bean>
42
43 <bean name="kustvakt_encryption"
44 class="de.ids_mannheim.korap.interfaces.defaults.DefaultEncryption">
45 </bean>
margarethaf68daa62017-09-21 02:11:24 +020046
47 <bean id="search_krill"
48 class="de.ids_mannheim.korap.web.SearchKrill">
49 <constructor-arg value="${krill.indexDir}"/>
50 </bean>
51
Michael Hanl72c7b832015-09-03 08:42:15 +020052</beans>