CdmApplicationRemoteConfiguration : added GeoService and @Component bean name
[taxeditor.git] / eu.etaxonomy.taxeditor.cdmlib / src / main / resources / eu / etaxonomy / cdm / remotingApplicationContext.xml
index 2793ca621a65f4888089fe21ee93e5d0080dac79..df3383767f583445cca58a9ae87c46f1729d35fa 100644 (file)
@@ -7,16 +7,24 @@
     http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
     http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd">\r
        \r
+\r
+    <!--  <bean id="remoteTermInitializer" class="eu.etaxonomy.cdm.remote.service.RemoteTermInitializer"/>-->\r
+        \r
+       \r
+       <context:component-scan base-package="eu/etaxonomy/cdm/api/application">\r
+               <context:exclude-filter type="regex" expression="eu\.etaxonomy\.cdm\.api\.application\.CdmApplicationDefaultConfiguration" /> \r
+       </context:component-scan>\r
+    \r
        <import resource="classpath:/eu/etaxonomy/cdm/remoting_services_security.xml"/> \r
 \r
        <import resource="classpath:/eu/etaxonomy/cdm/httpInvokerServiceClients.xml"/>\r
\r
-    <bean name="cdmApplicationDefaultConfiguration" class="eu.etaxonomy.cdm.api.application.CdmApplicationRemoteConfiguration"/>\r
+\r
 \r
        <!-- EditGeoService was moved to ext. Therefore it will not be found by the default component scan.
        We added it here because the Editor needs it. However, this is only a temporary solution.
        In the future we want to pass in an application context with the editor. -->\r
 \r
+\r
        <!-- <bean id="conversationHolder" class="eu.etaxonomy.cdm.api.conversation.ConversationHolder" scope="prototype"/> -->\r
 \r
        <!-- TODO move to io -->\r