Revision 47a71285
Added by Cherian Mathew over 8 years ago
cdmlib-ext/src/main/resources/eu/etaxonomy/cdm/httpInvokerExtServices.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" xmlns:context="http://www.springframework.org/schema/context" |
|
4 |
xmlns:tx="http://www.springframework.org/schema/tx" |
|
5 |
xsi:schemaLocation="http://www.springframework.org/schema/beans |
|
6 |
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd |
|
7 |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd |
|
8 |
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd |
|
9 |
"> |
|
10 |
|
|
11 |
<!-- The beans for the implementation classes are declared with the @Service |
|
12 |
annotation. See EditGeoService for an example. --> |
|
13 |
|
|
14 |
<bean id="httpEditGeoService" |
|
15 |
class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter"> |
|
16 |
<property name="service"> |
|
17 |
<ref bean="editGeoService" /> |
|
18 |
</property> |
|
19 |
<property name="serviceInterface"> |
|
20 |
<value>eu.etaxonomy.cdm.ext.geo.IEditGeoService</value> |
|
21 |
</property> |
|
22 |
</bean> |
|
23 |
|
|
24 |
</beans> |
cdmlib-io/src/main/resources/eu/etaxonomy/cdm/httpInvokerIOServices.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" xmlns:context="http://www.springframework.org/schema/context" |
|
4 |
xmlns:tx="http://www.springframework.org/schema/tx" |
|
5 |
xsi:schemaLocation="http://www.springframework.org/schema/beans |
|
6 |
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd |
|
7 |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd |
|
8 |
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd |
|
9 |
"> |
|
10 |
|
|
11 |
|
|
12 |
</beans> |
cdmlib-services/src/main/resources/eu/etaxonomy/cdm/remoting-services.xml | ||
---|---|---|
8 | 8 |
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd |
9 | 9 |
"> |
10 | 10 |
|
11 |
<!-- Import services from cdmlib-services project --> |
|
11 | 12 |
<import resource="classpath:/eu/etaxonomy/cdm/httpInvokerServices.xml" /> |
13 |
<!-- Import services from cdmlib-ext project --> |
|
14 |
<import resource="classpath:/eu/etaxonomy/cdm/httpInvokerExtServices.xml" /> |
|
15 |
<!-- Import services from cdmlib-io project --> |
|
16 |
<import resource="classpath:/eu/etaxonomy/cdm/httpInvokerIOServices.xml" /> |
|
12 | 17 |
|
13 | 18 |
<bean |
14 | 19 |
class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"> |
... | ... | |
18 | 23 |
<!-- Needed for spring remoting with the http invoker --> |
19 | 24 |
<!-- The configuration of the services is imported from httpInvokerServices.xml --> |
20 | 25 |
<props> |
26 |
<!-- services from cdmlib-services project --> |
|
21 | 27 |
<prop key="/remoting/agent.service">httpAgentService</prop> |
22 | 28 |
<prop key="/remoting/amplification.service">httpAmplificationService</prop> |
23 | 29 |
<prop key="/remoting/annotation.service">httpAnnotationService</prop> |
... | ... | |
56 | 62 |
<prop key="/remoting/authenticationManager.service">httpAuthenticationManager</prop> |
57 | 63 |
<prop key="/remoting/io.service">httpIOService</prop> |
58 | 64 |
<prop key="/remoting/test.service">httpTestService</prop> |
65 |
<!-- services from cdmlib-ext project --> |
|
66 |
<prop key="/remoting/editgeo.service">httpEditGeoService</prop> |
|
67 |
<!-- services from cdmlib-io project --> |
|
59 | 68 |
</props> |
60 | 69 |
</property> |
61 | 70 |
</bean> |
Also available in: Unified diff
#5349 Add http invoker service config files to cdmlib-ext (for editgeo service) and cdmlib-io (currenlty empty)