Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (1.53 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-4.0.xsd
7
    http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
8
    ">
9

    
10
    <!--
11
        ======================================================================
12
          default service configuration (not including persistence.xml configuration)
13
        ======================================================================
14
     -->
15

    
16
        <context:component-scan base-package="eu/etaxonomy/cdm/persistence">
17
      <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.persistence\.dao\.hibernate\.taxon\.TaxonAlternativeSpellingSuggestionParser"/>
18
    </context:component-scan>
19

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

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

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

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