Project

General

Profile

Download (2.28 KB) Statistics
| Branch: | Tag: | Revision:
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="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7
    http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
8
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd">
9

    
10
	<import resource="classpath:/eu/etaxonomy/cdm/services.xml"/>
11
	<import resource="classpath:/eu/etaxonomy/cdm/defaultSecurityContext.xml"/>
12
	<!-- <import resource="classpath:/eu/etaxonomy/cdm/spelling.xml"/> -->
13

    
14

    
15
	<!-- includes service beans e.g. in eu/etaxonomy/cdm/api -->
16
	<context:component-scan base-package="eu/etaxonomy/cdm/api/service">
17
		<!--  <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.api\.service\.UserService"/> -->
18
	</context:component-scan>
19
	
20
	<context:component-scan base-package="eu/etaxonomy/cdm/api/application"/>
21

    
22
	<!-- EditGeoService was moved to ext. Therefore it will not be found by the default component scan.
23
	We added it here because the Editor needs it. However, this is only a temporary solution.
24
	In the future we want to pass in an application context with the editor. -->
25

    
26
	<bean id="conversationHolder" class="eu.etaxonomy.cdm.api.conversation.ConversationHolder"
27
		scope="prototype"/>
28

    
29
	<!-- TODO move to io -->
30
	<context:component-scan base-package="eu/etaxonomy/cdm/io">
31
		<context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.io\.pesi.*" />
32
		<context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.io\.faunaEuropaea.*" />
33
		<context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.io\.erms.*" />
34
		<context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.io\.eflora.*" />
35
		<context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.io\.berlinModel.*" />
36
	</context:component-scan>
37

    
38
	<!-- enable the configuration of transactional behavior based on annotations -->
39
	<tx:annotation-driven transaction-manager="transactionManager"/>
40

    
41
</beans>
(1-1/3)