e9c3af1e9b0c51269d1894f72a9e083046f75131
[taxeditor.git] / eu.etaxonomy.taxeditor.cdmlib / src / main / resources / eu / etaxonomy / cdm / remotingApplicationContext.xml
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 <context:spring-configured />
11 <bean id="cdmlazyLoader" class="eu.etaxonomy.cdm.api.lazyloading.CdmLazyLoader"
12 factory-method="aspectOf" />
13 <!-- <import resource="classpath:/eu/etaxonomy/cdm/services.xml"/> -->
14 <!--import resource="classpath:/eu/etaxonomy/cdm/defaultSecurityContext.xml"/> -->
15 <import resource="classpath:/eu/etaxonomy/cdm/remoting_services_security.xml"/>
16 <!-- <import resource="classpath:/eu/etaxonomy/cdm/spelling.xml"/> -->
17
18 <!-- includes service beans e.g. in eu/etaxonomy/cdm/api -->
19 <!-- Services are defined in httpInvokerServiceClients.xml, component-scan is not needed. -->
20 <!--
21 <context:component-scan base-package="eu/etaxonomy/cdm/api/service">
22 </context:component-scan>
23 -->
24
25 <import resource="classpath:/eu/etaxonomy/cdm/httpInvokerServiceClients.xml"/>
26
27 <context:component-scan base-package="eu/etaxonomy/cdm/api/application">
28 <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.api\.application\.CdmApplicationController"/>
29 <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.api\.application\.CdmApplicationDefaultConfiguration"/>
30 <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.remote\.api\.application\.CdmApplicationRemoteController"/>
31 <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.remote\.api\.application\.CdmApplicationRemoteDefaultConfiguration"/>
32 </context:component-scan>
33 <!--bean id="persistentTermInitializer" class="eu.etaxonomy.cdm.database.PersistentTermInitializer">
34 <property name="omit" value="false" />
35 </bean-->
36 <!--bean id="remoteTermInitializer" class="eu.etaxonomy.cdm.remote.service.RemoteTermInitializer">
37 <property name="omit" value="false" />
38 </bean-->
39
40 <!-- EditGeoService was moved to ext. Therefore it will not be found by the default component scan.
41 We added it here because the Editor needs it. However, this is only a temporary solution.
42 In the future we want to pass in an application context with the editor. -->
43
44 <!-- <bean id="conversationHolder" class="eu.etaxonomy.cdm.api.conversation.ConversationHolder" scope="prototype"/> -->
45
46 <!-- TODO move to io -->
47 <!--
48 <context:component-scan base-package="eu/etaxonomy/cdm/io">
49 <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.io\.berlinModel.*" />
50 </context:component-scan>
51 -->
52 <!-- enable the configuration of transactional behavior based on annotations -->
53 <!-- <tx:annotation-driven transaction-manager="transactionManager"/> -->
54
55 </beans>