Adding new and modifying existing classes / resources for remoting.
[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 <bean name="cdmApplicationRemoteDefaultConfiguration" class="eu.etaxonomy.cdm.remote.api.application.CdmApplicationRemoteDefaultConfiguration">
26 </bean>
27
28 <import resource="classpath:/eu/etaxonomy/cdm/httpInvokerServiceClients.xml"/>
29
30 <context:component-scan base-package="eu/etaxonomy/cdm/api/application">
31 <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.api\.application\.CdmApplicationController"/>
32 <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.api\.application\.CdmApplicationDefaultConfiguration"/>
33 <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.remote\.api\.application\.CdmApplicationRemoteController"/>
34 <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.remote\.api\.application\.CdmApplicationRemoteDefaultConfiguration"/>
35 </context:component-scan>
36 <!--bean id="persistentTermInitializer" class="eu.etaxonomy.cdm.database.PersistentTermInitializer">
37 <property name="omit" value="false" />
38 </bean-->
39 <!--bean id="remoteTermInitializer" class="eu.etaxonomy.cdm.remote.service.RemoteTermInitializer">
40 <property name="omit" value="false" />
41 </bean-->
42
43 <!-- EditGeoService was moved to ext. Therefore it will not be found by the default component scan.
44 We added it here because the Editor needs it. However, this is only a temporary solution.
45 In the future we want to pass in an application context with the editor. -->
46
47 <!-- <bean id="conversationHolder" class="eu.etaxonomy.cdm.api.conversation.ConversationHolder" scope="prototype"/> -->
48
49 <!-- TODO move to io -->
50 <!--
51 <context:component-scan base-package="eu/etaxonomy/cdm/io">
52 <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.io\.berlinModel.*" />
53 </context:component-scan>
54 -->
55 <!-- enable the configuration of transactional behavior based on annotations -->
56 <!-- <tx:annotation-driven transaction-manager="transactionManager"/> -->
57
58 </beans>