Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

cdmlib / cdmlib-services / src / main / resources / eu / etaxonomy / cdm / services.xml @ ff33651f

History | View | Annotate | Download (2.01 KB)

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
  xsi:schemaLocation="
6
    http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
7
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
8
    ">
9

    
10
    <import resource="classpath:/eu/etaxonomy/cdm/persistence.xml"/>
11

    
12
    <!--
13
        ======================================================================
14
          default service configuration (same as in services_security.xml)
15
          this config file should soon be removed since the cdmlib should
16
          never be without security
17
        ======================================================================
18
     -->
19

    
20
         <context:component-scan base-package="eu/etaxonomy/cdm/persistence">
21
      <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.persistence\.dao\.hibernate\.taxon\.TaxonAlternativeSpellingSuggestionParser"/>
22
    </context:component-scan>
23

    
24
    <context:component-scan base-package="eu/etaxonomy/cdm/search" />
25

    
26
    <context:component-scan base-package="eu/etaxonomy/cdm/database"/>
27

    
28
    <!-- also find the implementation of ICdmApplicationConfiguration (otherwise it is not found by a component scan)
29
    <bean name="cdmApplicationDefaultConfiguration" class="eu.etaxonomy.cdm.api.application.CdmApplicationDefaultConfiguration">
30
    </bean>
31
    -->
32

    
33
    <!-- also find the implementation of ITaxonNodeComparator (otherwise it is not found by a component scan)  -->
34
    <bean name="taxonNodeByNameComparator" class="eu.etaxonomy.cdm.model.taxon.TaxonNodeByNameComparator">
35
    </bean>
36

    
37
    <!-- equips a new and empty database with the initial set of meta data and admin user   -->
38
    <bean id="firstDataInserter" class="eu.etaxonomy.cdm.api.application.FirstDataInserter" />
39
</beans>
Add picture from clipboard (Maximum size: 40 MB)