Project

General

Profile

Download (2.85 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: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
   <!-- include default application context and customization -->
12
    <import resource="classpath:/eu/etaxonomy/cdm/defaultApplicationContext.xml"/>
13
    <bean id="persistentTermInitializer" class="eu.etaxonomy.cdm.database.PersistentTermInitializer">
14
       <property name="omit" value="false" />
15
    </bean>
16
   <context:component-scan base-package="eu/etaxonomy/cdm/ext" />
17

    
18
<!--    <import resource="classpath:/eu/etaxonomy/cdm/remote-security.xml"/> -->
19
    <context:component-scan base-package="eu/etaxonomy/cdm/io">
20
        <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.io\.pesi.*" />
21
        <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.io\.faunaEuropaea.*" />
22
        <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.io\.erms.*" />
23
        <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.io\.eflora.*" />
24
        <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.io\.berlinModel.*" />
25
    </context:component-scan>
26

    
27
    <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
28
      <property name="properties">
29
        <props>
30
            <prop key="eu.etaxonomy.cdm.base.path">${user.home}/.cdmLibrary/</prop>
31
            <prop key="eu.etaxonomy.cdm.search.index.path">${user.home}/.cdmLibrary/index/</prop>
32
        </props>
33
          </property>
34
    </bean>
35

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

    
39
    <!-- import additional beans into the root context -->
40
<!--     <import resource="applicationContext.views.xml"/> -->
41

    
42
    <!-- CONFIGURE WEB APPLICATION HERE -->
43
    <import resource="datasources/configurable.xml" />
44

    
45
    <context:annotation-config/>
46
    
47
  <!--   
48
    <bean class="eu.etaxonomy.cdm.opt.config.LoggingConfigurer">
49
    </bean>
50
 -->
51
 
52
  <bean id="serializableFactory" class="org.springmodules.cache.serializable.XStreamSerializableFactory"/>
53

    
54
  <bean id="cacheProviderFacade" class="org.springmodules.cache.provider.ehcache.EhCacheFacade">
55
      <property name="cacheManager" ref="cacheManager" />
56
      <property name="serializableFactory" ref="serializableFactory"/>
57
  </bean>
58

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