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/database"/>
|
21
|
|
22
|
<!-- also find the implementation of ITaxonNodeComparator (otherwise it is not found by a component scan) -->
|
23
|
<bean name="taxonNodeByNameComparator" class="eu.etaxonomy.cdm.model.taxon.TaxonNodeByNameComparator"/>
|
24
|
|
25
|
|
26
|
<!-- equips a new and empty database with the initial set of meta data and admin user -->
|
27
|
<bean id="firstDataInserter" class="eu.etaxonomy.cdm.api.application.FirstDataInserter" />
|
28
|
|
29
|
</beans>
|