Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 1 | <?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" |
| 4 | xmlns="http://www.springframework.org/schema/beans" |
| 5 | xsi:schemaLocation="http://www.springframework.org/schema/beans |
| 6 | http://www.springframework.org/schema/beans/spring-beans-4.0.xsd |
| 7 | http://www.springframework.org/schema/util |
| 8 | http://www.springframework.org/schema/util/spring-util-4.0.xsd"> |
| 9 | |
| 10 | |
Michael Hanl | d6eadd5 | 2015-11-11 18:30:33 +0100 | [diff] [blame] | 11 | <!--<util:properties id="props" location="classpath:kustvakt.conf"/>--> |
| 12 | |
| 13 | <bean id="props" |
| 14 | class="org.springframework.beans.factory.config.PropertiesFactoryBean"> |
| 15 | <property name="ignoreResourceNotFound" value="true"/> |
| 16 | <property name="locations"> |
| 17 | <array> |
| 18 | <value>classpath:kustvakt.conf</value> |
| 19 | <value>file:./config/kustvakt.conf</value> |
| 20 | </array> |
| 21 | </property> |
| 22 | </bean> |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 23 | |
| 24 | <bean id="kustvakt_auditing" |
| 25 | class="de.ids_mannheim.korap.interfaces.defaults.DefaultAuditing"> |
| 26 | </bean> |
| 27 | |
| 28 | <bean id="kustvakt_config" |
| 29 | class="de.ids_mannheim.korap.config.KustvaktConfiguration"> |
| 30 | <property name="properties" ref="props"/> |
| 31 | </bean> |
| 32 | |
| 33 | <bean name="kustvakt_encryption" |
| 34 | class="de.ids_mannheim.korap.interfaces.defaults.DefaultEncryption"> |
| 35 | </bean> |
| 36 | </beans> |