blob: 058eb3193b100bcafac8e5d39309b5dee93689ef [file] [log] [blame]
Michael Hanlbd852b82015-11-18 22:17:00 +01001<?xml version="1.0" encoding="UTF-8"?>
2<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
margaretha35e1ca22023-11-16 22:00:01 +01003 xmlns:p="http://www.springframework.org/schema/p"
4 xmlns:util="http://www.springframework.org/schema/util"
5 xmlns:aop="http://www.springframework.org/schema/aop"
6 xmlns:tx="http://www.springframework.org/schema/tx"
7 xmlns="http://www.springframework.org/schema/beans"
8 xmlns:context="http://www.springframework.org/schema/context"
margarethaade7d4a2017-07-20 19:53:35 +02009 xmlns:cache="http://www.springframework.org/schema/cache"
margaretha62055f72017-04-11 19:17:43 +020010 xsi:schemaLocation="http://www.springframework.org/schema/beans
margaretha3da7cd32018-10-22 17:42:52 +020011 http://www.springframework.org/schema/beans/spring-beans.xsd
margarethaade7d4a2017-07-20 19:53:35 +020012 http://www.springframework.org/schema/tx
margaretha3da7cd32018-10-22 17:42:52 +020013 http://www.springframework.org/schema/tx/spring-tx.xsd
margarethaade7d4a2017-07-20 19:53:35 +020014 http://www.springframework.org/schema/aop
margaretha3da7cd32018-10-22 17:42:52 +020015 http://www.springframework.org/schema/aop/spring-aop.xsd
margarethaade7d4a2017-07-20 19:53:35 +020016 http://www.springframework.org/schema/context
margaretha3da7cd32018-10-22 17:42:52 +020017 http://www.springframework.org/schema/context/spring-context.xsd
margarethaade7d4a2017-07-20 19:53:35 +020018 http://www.springframework.org/schema/util
margaretha3da7cd32018-10-22 17:42:52 +020019 http://www.springframework.org/schema/util/spring-util.xsd">
Michael Hanlbd852b82015-11-18 22:17:00 +010020
margaretha35e1ca22023-11-16 22:00:01 +010021 <context:component-scan
22 base-package="de.ids_mannheim.korap" />
margarethaade7d4a2017-07-20 19:53:35 +020023 <context:annotation-config />
Michael Hanlbd852b82015-11-18 22:17:00 +010024
margaretha62055f72017-04-11 19:17:43 +020025 <bean id="props"
26 class="org.springframework.beans.factory.config.PropertiesFactoryBean">
27 <property name="ignoreResourceNotFound" value="true" />
28 <property name="locations">
29 <array>
margaretha0c47c652017-04-19 18:44:40 +020030 <value>classpath:kustvakt-test.conf</value>
31 <value>file:./kustvakt-test.conf</value>
margaretha62055f72017-04-11 19:17:43 +020032 </array>
33 </property>
34 </bean>
Michael Hanlbd852b82015-11-18 22:17:00 +010035
margarethaade7d4a2017-07-20 19:53:35 +020036 <bean id="placeholders"
37 class="org.springframework.context.support.PropertySourcesPlaceholderConfigurer">
margaretha62055f72017-04-11 19:17:43 +020038 <property name="ignoreResourceNotFound" value="true" />
39 <property name="locations">
40 <array>
margaretha6c2a20f2017-07-24 15:33:01 +020041 <value>classpath:test-jdbc.properties</value>
margaretha1f106f62017-10-18 22:27:30 +020042 <value>file:./test-jdbc.properties</value>
margarethaaecee1b2018-02-20 14:44:21 +010043 <value>classpath:properties/mail.properties</value>
44 <value>file:./mail.properties</value>
margarethaf6d5a822017-10-19 19:51:20 +020045 <value>classpath:test-hibernate.properties</value>
margaretha1960ea52023-02-28 11:20:15 +010046 <value>file:./kustvakt-test.conf</value>
margarethaf18298b2017-09-14 22:14:32 +020047 <value>classpath:kustvakt-test.conf</value>
margaretha62055f72017-04-11 19:17:43 +020048 </array>
49 </property>
50 </bean>
margarethaf6f6c3c2024-06-11 10:51:06 +020051
52 <!-- props are injected from default-config.xml -->
53 <bean id="kustvakt_config"
54 class="de.ids_mannheim.korap.config.FullConfiguration">
55 <constructor-arg name="properties" ref="props" />
56 </bean>
57
Michael Hanlbd852b82015-11-18 22:17:00 +010058
margaretha35e1ca22023-11-16 22:00:01 +010059 <!-- <bean id='cacheManager' class='org.springframework.cache.ehcache.EhCacheCacheManager'
60 p:cacheManager-ref='ehcache' /> <bean id='ehcache' class='org.springframework.cache.ehcache.EhCacheManagerFactoryBean'
margaretha7c21ec82023-08-21 09:55:58 +020061 p:configLocation='classpath:ehcache.xml' p:shared='true' /> -->
Michael Hanlbd852b82015-11-18 22:17:00 +010062
margaretha35e1ca22023-11-16 22:00:01 +010063 <bean id="dataSource"
64 class="org.apache.commons.dbcp2.BasicDataSource" lazy-init="true">
margaretha4edc70e2018-03-14 22:34:29 +010065 <!-- <property name="driverClassName" value="${jdbc.driverClassName}" /> -->
margaretha6c2a20f2017-07-24 15:33:01 +020066 <property name="url" value="${jdbc.url}" />
67 <property name="username" value="${jdbc.username}" />
68 <property name="password" value="${jdbc.password}" />
margaretha318fec32017-10-24 12:11:58 +020069 <property name="maxTotal" value="4" />
margaretha514e1412017-10-10 15:54:20 +020070 <property name="maxIdle" value="1" />
margaretha6c2a20f2017-07-24 15:33:01 +020071 <property name="minIdle" value="1" />
72 <property name="maxWaitMillis" value="15000" />
73 <!--<property name="poolPreparedStatements" value="true"/> -->
74 </bean>
75
margarethaf6f6c3c2024-06-11 10:51:06 +020076 <!-- <bean id="sqliteDataSource" class="org.springframework.jdbc.datasource.SingleConnectionDataSource"
77 lazy-init="true"> <property name="driverClassName" value="${jdbc.driverClassName}"
78 /> <property name="url" value="${jdbc.url}" /> <property name="username"
79 value="${jdbc.username}" /> <property name="password" value="${jdbc.password}"
80 /> <property name="connectionProperties"> <props> <prop key="date_string_format">yyyy-MM-dd
81 HH:mm:ss</prop> </props> </property> Sqlite can only have a single connection
82 <property name="suppressClose"> <value>true</value> </property> </bean> -->
margaretha35e1ca22023-11-16 22:00:01 +010083 <bean id="c3p0DataSource"
84 class="com.mchange.v2.c3p0.ComboPooledDataSource"
margaretha58e18632018-02-15 13:04:42 +010085 destroy-method="close">
86 <property name="driverClass" value="${jdbc.driverClassName}" />
margaretha514e1412017-10-10 15:54:20 +020087 <property name="jdbcUrl" value="${jdbc.url}" />
88 <property name="user" value="${jdbc.username}" />
89 <property name="password" value="${jdbc.password}" />
margaretha58e18632018-02-15 13:04:42 +010090 <property name="maxPoolSize" value="4" />
91 <property name="minPoolSize" value="1" />
92 <property name="maxStatements" value="1" />
93 <property name="testConnectionOnCheckout" value="true" />
margaretha62055f72017-04-11 19:17:43 +020094 </bean>
Michael Hanlbd852b82015-11-18 22:17:00 +010095
margaretha62055f72017-04-11 19:17:43 +020096 <!-- to configure database for sqlite, mysql, etc. migrations -->
margaretha35e1ca22023-11-16 22:00:01 +010097 <bean id="flywayConfig"
98 class="org.flywaydb.core.api.configuration.ClassicConfiguration">
margarethaf6d5a822017-10-19 19:51:20 +020099 <!-- drop existing tables and create new tables -->
100 <property name="validateOnMigrate" value="true" />
101 <property name="cleanOnValidationError" value="true" />
margaretha514e1412017-10-10 15:54:20 +0200102 <property name="baselineOnMigrate" value="false" />
margaretha35e1ca22023-11-16 22:00:01 +0100103 <property name="locations"
104 value="#{'${jdbc.schemaPath}'.split(',')}" />
margaretha8fe51e92023-09-20 11:22:20 +0200105 <!-- <property name="dataSource" ref="sqliteDataSource" /> -->
106 <property name="dataSource" ref="dataSource" />
margarethad66a6832022-03-03 08:47:13 +0100107 <property name="outOfOrder" value="true" />
margaretha62055f72017-04-11 19:17:43 +0200108 </bean>
margaretha35e1ca22023-11-16 22:00:01 +0100109
110 <bean id="flyway" class="org.flywaydb.core.Flyway"
111 init-method="migrate">
112 <constructor-arg ref="flywayConfig" />
margarethafcf8bd92021-01-14 10:55:53 +0100113 </bean>
margaretha35e1ca22023-11-16 22:00:01 +0100114
Michael Hanlbd852b82015-11-18 22:17:00 +0100115
margarethaade7d4a2017-07-20 19:53:35 +0200116 <bean id="entityManagerFactory"
117 class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean">
margaretha8fe51e92023-09-20 11:22:20 +0200118 <property name="dataSource" ref="dataSource" />
119 <!-- <property name="dataSource" ref="sqliteDataSource" /> -->
margarethaa452c5e2018-04-25 22:48:09 +0200120 <property name="packagesToScan">
121 <array>
margaretha5b708792023-05-12 16:55:29 +0200122 <value>de.ids_mannheim.korap.core.entity</value>
margarethaa452c5e2018-04-25 22:48:09 +0200123 <value>de.ids_mannheim.korap.entity</value>
124 <value>de.ids_mannheim.korap.oauth2.entity</value>
125 </array>
126 </property>
margarethaade7d4a2017-07-20 19:53:35 +0200127 <property name="jpaVendorAdapter">
128 <bean id="jpaVendorAdapter"
129 class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter">
margaretha35e1ca22023-11-16 22:00:01 +0100130 <property name="databasePlatform"
131 value="${hibernate.dialect}" />
margarethaade7d4a2017-07-20 19:53:35 +0200132 </bean>
133 </property>
134 <property name="jpaProperties">
135 <props>
136 <prop key="hibernate.dialect">${hibernate.dialect}</prop>
137 <prop key="hibernate.hbm2ddl.auto">${hibernate.hbm2ddl.auto}</prop>
138 <prop key="hibernate.show_sql">${hibernate.show_sql}</prop>
139 <prop key="hibernate.cache.use_query_cache">${hibernate.cache.use_query_cache}</prop>
140 <prop key="hibernate.cache.use_second_level_cache">${hibernate.cache.use_second_level_cache}
141 </prop>
142 <prop key="hibernate.cache.provider_class">${hibernate.cache.provider}</prop>
143 <prop key="hibernate.cache.region.factory_class">${hibernate.cache.region.factory}</prop>
margaretha6ad08b42018-08-22 18:33:54 +0200144 <prop key="hibernate.jdbc.time_zone">${hibernate.jdbc.time_zone}</prop>
margarethaade7d4a2017-07-20 19:53:35 +0200145 <!-- <prop key="net.sf.ehcache.configurationResourceName">classpath:ehcache.xml</prop> -->
146 </props>
147 </property>
margaretha62055f72017-04-11 19:17:43 +0200148 </bean>
Michael Hanle4fc7752016-02-17 11:41:18 +0100149
margarethaade7d4a2017-07-20 19:53:35 +0200150 <tx:annotation-driven proxy-target-class="true"
151 transaction-manager="transactionManager" />
margaretha35e1ca22023-11-16 22:00:01 +0100152 <bean id="transactionManager"
153 class="org.springframework.orm.jpa.JpaTransactionManager">
154 <property name="entityManagerFactory"
155 ref="entityManagerFactory" />
margaretha62055f72017-04-11 19:17:43 +0200156 </bean>
Michael Hanle4fc7752016-02-17 11:41:18 +0100157
margarethaade7d4a2017-07-20 19:53:35 +0200158 <bean id="transactionTemplate"
159 class="org.springframework.transaction.support.TransactionTemplate">
160 <constructor-arg ref="transactionManager" />
161 </bean>
162
163 <!-- Data access objects -->
margaretha34954472018-10-24 20:05:17 +0200164 <bean id="adminDao" class="de.ids_mannheim.korap.dao.AdminDaoImpl" />
margaretha35e1ca22023-11-16 22:00:01 +0100165 <bean id="resourceDao"
166 class="de.ids_mannheim.korap.dao.ResourceDao" />
167 <bean id="accessScopeDao"
168 class="de.ids_mannheim.korap.oauth2.dao.AccessScopeDao" />
169 <bean id="authorizationDao"
170 class="de.ids_mannheim.korap.oauth2.dao.CachedAuthorizationDaoImpl" />
171
margaretha34954472018-10-24 20:05:17 +0200172 <!-- Services -->
margaretha35e1ca22023-11-16 22:00:01 +0100173 <bean id="scopeService"
174 class="de.ids_mannheim.korap.oauth2.service.OAuth2ScopeServiceImpl" />
175
margaretha35e1ca22023-11-16 22:00:01 +0100176 <bean id="initializator"
177 class="de.ids_mannheim.korap.init.Initializator"
margaretha1b320452018-08-02 16:56:25 +0200178 init-method="initTest">
margarethab4ce6602018-04-26 20:23:57 +0200179 </bean>
180
margaretha6c2a20f2017-07-24 15:33:01 +0200181 <!-- Krill -->
margaretha35e1ca22023-11-16 22:00:01 +0100182 <bean id="search_krill"
183 class="de.ids_mannheim.korap.web.SearchKrill">
margaretha58e18632018-02-15 13:04:42 +0100184 <constructor-arg value="${krill.indexDir}" />
margaretha6c2a20f2017-07-24 15:33:01 +0200185 </bean>
186
margaretha6cd27f32019-01-24 14:47:47 +0100187 <!-- Validator -->
margaretha35e1ca22023-11-16 22:00:01 +0100188 <bean id="validator"
189 class="de.ids_mannheim.korap.validator.ApacheValidator" />
190
margaretha31a9f522018-04-03 20:40:45 +0200191 <!-- URLValidator -->
margaretha35e1ca22023-11-16 22:00:01 +0100192 <bean id="redirectURIValidator"
193 class="org.apache.commons.validator.routines.UrlValidator">
margarethae4034a82018-07-02 14:46:59 +0200194 <constructor-arg value="http,https" index="0" />
margaretha35e1ca22023-11-16 22:00:01 +0100195 <constructor-arg index="1" type="long"
196 value="#{T(org.apache.commons.validator.routines.UrlValidator).ALLOW_LOCAL_URLS +
197 T(org.apache.commons.validator.routines.UrlValidator).NO_FRAGMENTS}" />
margaretha31a9f522018-04-03 20:40:45 +0200198 </bean>
margaretha35e1ca22023-11-16 22:00:01 +0100199 <bean id="urlValidator"
200 class="org.apache.commons.validator.routines.UrlValidator">
margarethad7cab212018-07-02 19:01:43 +0200201 <constructor-arg value="http,https" />
202 </bean>
margaretha56e8e552017-12-05 16:31:21 +0100203
margaretha4fa4b062019-01-28 19:43:30 +0100204 <!-- Rewrite -->
margaretha35e1ca22023-11-16 22:00:01 +0100205 <bean id="foundryRewrite"
206 class="de.ids_mannheim.korap.rewrite.FoundryRewrite" />
207 <bean id="collectionRewrite"
208 class="de.ids_mannheim.korap.rewrite.CollectionRewrite" />
209 <bean id="collectionCleanRewrite"
210 class="de.ids_mannheim.korap.rewrite.CollectionCleanRewrite" />
211 <bean id="virtualCorpusRewrite"
212 class="de.ids_mannheim.korap.rewrite.VirtualCorpusRewrite" />
213 <bean id="collectionConstraint"
214 class="de.ids_mannheim.korap.rewrite.CollectionConstraint" />
215 <bean id="queryReferenceRewrite"
216 class="de.ids_mannheim.korap.rewrite.QueryReferenceRewrite" />
217
margaretha4fa4b062019-01-28 19:43:30 +0100218 <util:list id="rewriteTasks"
219 value-type="de.ids_mannheim.korap.rewrite.RewriteTask">
margaretha35e1ca22023-11-16 22:00:01 +0100220 <!-- <ref bean="collectionConstraint" /> <ref bean="collectionCleanRewrite"
221 /> -->
margaretha4fa4b062019-01-28 19:43:30 +0100222 <ref bean="foundryRewrite" />
223 <ref bean="collectionRewrite" />
224 <ref bean="virtualCorpusRewrite" />
Akronbee031a2020-10-29 16:58:14 +0100225 <ref bean="queryReferenceRewrite" />
margaretha4fa4b062019-01-28 19:43:30 +0100226 </util:list>
margaretha35e1ca22023-11-16 22:00:01 +0100227
228 <bean id="rewriteHandler"
229 class="de.ids_mannheim.korap.rewrite.RewriteHandler">
230 <constructor-arg ref="rewriteTasks" />
margaretha56e8e552017-12-05 16:31:21 +0100231 </bean>
232
margaretha35e1ca22023-11-16 22:00:01 +0100233 <bean id="kustvaktResponseHandler"
234 class="de.ids_mannheim.korap.web.KustvaktResponseHandler">
margaretha05122312018-04-16 15:01:34 +0200235 </bean>
margarethafb027f92018-04-23 20:00:13 +0200236
237 <!-- OAuth -->
margaretha35e1ca22023-11-16 22:00:01 +0100238 <bean id="oauth2ResponseHandler"
239 class="de.ids_mannheim.korap.web.OAuth2ResponseHandler">
margaretha58e18632018-02-15 13:04:42 +0100240 </bean>
Michael Hanlbd852b82015-11-18 22:17:00 +0100241
margaretha35e1ca22023-11-16 22:00:01 +0100242 <bean name="kustvakt_encryption"
243 class="de.ids_mannheim.korap.encryption.KustvaktEncryption">
margaretha62055f72017-04-11 19:17:43 +0200244 <constructor-arg ref="kustvakt_config" />
245 </bean>
Michael Hanlbd852b82015-11-18 22:17:00 +0100246
margaretha62055f72017-04-11 19:17:43 +0200247 <!-- authentication providers to use -->
margaretha58e18632018-02-15 13:04:42 +0100248 <bean id="basic_auth"
249 class="de.ids_mannheim.korap.authentication.BasicAuthentication" />
Michael Hanlbd852b82015-11-18 22:17:00 +0100250
251
margaretha62055f72017-04-11 19:17:43 +0200252 <bean id="session_auth"
margaretha139d0f72017-11-14 18:56:22 +0100253 class="de.ids_mannheim.korap.authentication.SessionAuthentication">
margaretha35e1ca22023-11-16 22:00:01 +0100254 <constructor-arg
255 type="de.ids_mannheim.korap.config.KustvaktConfiguration"
margaretha62055f72017-04-11 19:17:43 +0200256 ref="kustvakt_config" />
margaretha35e1ca22023-11-16 22:00:01 +0100257 <constructor-arg
258 type="de.ids_mannheim.korap.interfaces.EncryptionIface"
margaretha62055f72017-04-11 19:17:43 +0200259 ref="kustvakt_encryption" />
260 </bean>
margarethae4034a82018-07-02 14:46:59 +0200261
margarethacf306d32018-05-30 19:45:35 +0200262 <bean id="oauth2_auth"
263 class="de.ids_mannheim.korap.authentication.OAuth2Authentication" />
margarethae4034a82018-07-02 14:46:59 +0200264
Michael Hanlbd852b82015-11-18 22:17:00 +0100265
margaretha62055f72017-04-11 19:17:43 +0200266 <util:list id="kustvakt_authproviders"
267 value-type="de.ids_mannheim.korap.interfaces.AuthenticationIface">
268 <ref bean="basic_auth" />
269 <ref bean="session_auth" />
margarethacf306d32018-05-30 19:45:35 +0200270 <ref bean="oauth2_auth" />
margaretha62055f72017-04-11 19:17:43 +0200271 </util:list>
Michael Hanlbd852b82015-11-18 22:17:00 +0100272
margaretha62055f72017-04-11 19:17:43 +0200273 <!-- specify type for constructor argument -->
margaretha34954472018-10-24 20:05:17 +0200274 <bean id="authenticationManager"
margaretha139d0f72017-11-14 18:56:22 +0100275 class="de.ids_mannheim.korap.authentication.KustvaktAuthenticationManager">
margaretha35e1ca22023-11-16 22:00:01 +0100276 <constructor-arg
277 type="de.ids_mannheim.korap.interfaces.EncryptionIface"
margaretha62055f72017-04-11 19:17:43 +0200278 ref="kustvakt_encryption" />
279 <constructor-arg ref="kustvakt_config" />
margaretha62055f72017-04-11 19:17:43 +0200280 <!-- inject authentication providers to use -->
281 <property name="providers" ref="kustvakt_authproviders" />
282 </bean>
Michael Hanlbd852b82015-11-18 22:17:00 +0100283
margaretha62055f72017-04-11 19:17:43 +0200284 <!-- todo: if db interfaces not loaded via spring, does transaction even
285 work then? -->
286 <!-- the transactional advice (i.e. what 'happens'; see the <aop:advisor/>
287 bean below) -->
288 <tx:advice id="txAdvice" transaction-manager="txManager">
289 <!-- the transactional semantics... -->
290 <tx:attributes>
291 <!-- all methods starting with 'get' are read-only -->
margaretha35e1ca22023-11-16 22:00:01 +0100292 <tx:method name="get*" read-only="true"
293 rollback-for="KorAPException" />
margaretha62055f72017-04-11 19:17:43 +0200294 <!-- other methods use the default transaction settings (see below) -->
295 <tx:method name="*" rollback-for="KorAPException" />
296 </tx:attributes>
297 </tx:advice>
Michael Hanlbd852b82015-11-18 22:17:00 +0100298
margaretha62055f72017-04-11 19:17:43 +0200299 <!-- ensure that the above transactional advice runs for any execution of
300 an operation defined by the service interface -->
301 <aop:config>
302 <aop:pointcut id="service"
303 expression="execution(* de.ids_mannheim.korap.interfaces.db.*.*(..))" />
304 <aop:advisor advice-ref="txAdvice" pointcut-ref="service" />
305 </aop:config>
Michael Hanlbd852b82015-11-18 22:17:00 +0100306
margaretha62055f72017-04-11 19:17:43 +0200307 <!-- similarly, don't forget the PlatformTransactionManager -->
308 <bean id="txManager"
309 class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
310 <property name="dataSource" ref="dataSource" />
311 </bean>
margaretha58e18632018-02-15 13:04:42 +0100312
313 <!-- mail -->
margaretha35e1ca22023-11-16 22:00:01 +0100314 <bean id="authenticator"
315 class="de.ids_mannheim.korap.service.MailAuthenticator">
margarethafb027f92018-04-23 20:00:13 +0200316 <constructor-arg index="0" value="${mail.username}" />
317 <constructor-arg index="1" value="${mail.password}" />
margarethaaecee1b2018-02-20 14:44:21 +0100318 </bean>
margaretha35e1ca22023-11-16 22:00:01 +0100319 <bean id="smtpSession" class="jakarta.mail.Session"
320 factory-method="getInstance">
margarethaaecee1b2018-02-20 14:44:21 +0100321 <constructor-arg index="0">
322 <props>
323 <prop key="mail.smtp.submitter">${mail.username}</prop>
324 <prop key="mail.smtp.auth">${mail.auth}</prop>
325 <prop key="mail.smtp.host">${mail.host}</prop>
326 <prop key="mail.smtp.port">${mail.port}</prop>
327 <prop key="mail.smtp.starttls.enable">${mail.starttls.enable}</prop>
328 <prop key="mail.smtp.connectiontimeout">${mail.connectiontimeout}</prop>
329 </props>
330 </constructor-arg>
margarethafb027f92018-04-23 20:00:13 +0200331 <constructor-arg index="1" ref="authenticator" />
margaretha58e18632018-02-15 13:04:42 +0100332 </bean>
margaretha35e1ca22023-11-16 22:00:01 +0100333 <bean id="mailSender"
334 class="org.springframework.mail.javamail.JavaMailSenderImpl">
margaretha58e18632018-02-15 13:04:42 +0100335 <property name="session" ref="smtpSession" />
336 </bean>
margaretha35e1ca22023-11-16 22:00:01 +0100337 <bean id="velocityEngine"
338 class="org.apache.velocity.app.VelocityEngine">
margaretha58e18632018-02-15 13:04:42 +0100339 <constructor-arg index="0">
340 <props>
341 <prop key="resource.loader">class</prop>
342 <prop key="class.resource.loader.class">org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
343 </prop>
344 </props>
345 </constructor-arg>
margarethaaecee1b2018-02-20 14:44:21 +0100346 </bean>
Akronbee031a2020-10-29 16:58:14 +0100347</beans>