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:context="http://www.springframework.org/schema/context"
|
5
|
xmlns:tx="http://www.springframework.org/schema/tx"
|
6
|
xsi:schemaLocation="
|
7
|
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
|
8
|
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd
|
9
|
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd">
|
10
|
|
11
|
<import resource="classpath:/eu/etaxonomy/cdm/services_security.xml"/>
|
12
|
<!-- <import resource="classpath:/eu/etaxonomy/cdm/spelling.xml"/> -->
|
13
|
|
14
|
<context:component-scan base-package="eu/etaxonomy/cdm/api/config"/>
|
15
|
<context:component-scan base-package="eu/etaxonomy/cdm/api/service"/>
|
16
|
|
17
|
<context:component-scan base-package="eu/etaxonomy/cdm/api/application">
|
18
|
<context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.api\.application\.CdmApplicationRemoteConfiguration" />
|
19
|
</context:component-scan>
|
20
|
|
21
|
<bean id="cdmTermCacher" class="eu.etaxonomy.cdm.api.cache.CdmTermCacher" />
|
22
|
|
23
|
<bean id="conversationHolder" class="eu.etaxonomy.cdm.api.conversation.ConversationHolder" scope="prototype"/>
|
24
|
|
25
|
<!--
|
26
|
<bean id="validationManager" class="eu.etaxonomy.cdm.api.validation.ValidationManager"/>
|
27
|
<bean id="batchValidator" class="eu.etaxonomy.cdm.api.validation.batch.BatchValidator"/>
|
28
|
-->
|
29
|
|
30
|
<!-- enable the configuration of transactional behavior based on annotations -->
|
31
|
<tx:annotation-driven transaction-manager="transactionManager"/>
|
32
|
|
33
|
</beans>
|