1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
3
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4
|
xmlns:tx="http://www.springframework.org/schema/tx"
|
5
|
xmlns:context="http://www.springframework.org/schema/context"
|
6
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
7
|
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
|
8
|
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
|
9
|
">
|
10
|
|
11
|
|
12
|
<import resource="classpath:/eu/etaxonomy/cdm/services.xml"/>
|
13
|
<!--
|
14
|
<import resource="classpath:/eu/etaxonomy/cdm/defaultSecurityContext.xml"/>
|
15
|
<import resource="classpath:/eu/etaxonomy/cdm/spelling.xml"/>
|
16
|
-->
|
17
|
|
18
|
|
19
|
<!-- Overwrites the component-scan in services.xml -->
|
20
|
<context:component-scan base-package="eu/etaxonomy/cdm">
|
21
|
<context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.api\.service\.UserService"/>
|
22
|
</context:component-scan>
|
23
|
|
24
|
|
25
|
<!-- enable the configuration of transactional behavior based on annotations -->
|
26
|
<tx:annotation-driven transaction-manager="transactionManager"/>
|
27
|
|
28
|
|
29
|
<!-- load usenames and passwords from properties file and import datasource bean configurations -->
|
30
|
<context:property-placeholder location="file:${user.home}/.cdmLibrary/cdmserver.properties"/>
|
31
|
<!-- CONFIGURE WEB APPLICATION HERE -->
|
32
|
<import resource="routing-datasource.xml"/>
|
33
|
<!--
|
34
|
<import resource="empty-default-datasource.xml"/>
|
35
|
<import resource="empty-default-datasource-wp7virtual.xml"/>
|
36
|
<import resource="datasources-local.xml"/>
|
37
|
<import resource="datasources-wp7virtual-production-A.xml"/>
|
38
|
<import resource="p6spy.xml"/>
|
39
|
<import resource="datasources-bgbm24-import.xml"/>
|
40
|
<import resource="datasources-wp7virtual-production-B.xml"/>
|
41
|
-->
|
42
|
|
43
|
|
44
|
</beans>
|