CdmApplicationDefaultConfiguration : moved autowiring for sessionFactory and transact...
[cdmlib.git] / cdmlib-services / src / main / resources / eu / etaxonomy / cdm / httpInvokerServices.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 The beans for the implementation classes are declared with the @Service annotation.
13 See ClassificationServiceImpl for an example.
14 -->
15
16 <bean id="httpAgentService"
17 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
18 <property name="service">
19 <ref bean="agentServiceImpl" />
20 </property>
21 <property name="serviceInterface">
22 <value>eu.etaxonomy.cdm.api.service.IAgentService</value>
23 </property>
24 </bean>
25
26 <bean id="httpAnnotationService"
27 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
28 <property name="service">
29 <ref bean="annotationService" />
30 </property>
31 <property name="serviceInterface">
32 <value>eu.etaxonomy.cdm.api.service.IAnnotationService</value>
33 </property>
34 </bean>
35
36 <bean id="httpAuditEventService"
37 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
38 <property name="service">
39 <ref bean="auditEventService" />
40 </property>
41 <property name="serviceInterface">
42 <value>eu.etaxonomy.cdm.api.service.IAuditEventService</value>
43 </property>
44 </bean>
45
46 <bean id="httpClassificationService"
47 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
48 <property name="service">
49 <ref bean="classificationServiceImpl" />
50 </property>
51 <property name="serviceInterface">
52 <value>eu.etaxonomy.cdm.api.service.IClassificationService</value>
53 </property>
54 </bean>
55
56 <bean id="httpCollectionService"
57 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
58 <property name="service">
59 <ref bean="collectionServiceImpl" />
60 </property>
61 <property name="serviceInterface">
62 <value>eu.etaxonomy.cdm.api.service.ICollectionService</value>
63 </property>
64 </bean>
65
66 <bean id="httpCommonService"
67 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
68 <property name="service">
69 <ref bean="commonServiceImpl" />
70 </property>
71 <property name="serviceInterface">
72 <value>eu.etaxonomy.cdm.api.service.ICommonService</value>
73 </property>
74 </bean>
75
76 <bean id="httpDescriptionService"
77 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
78 <property name="service">
79 <ref bean="descriptionServiceImpl" />
80 </property>
81 <property name="serviceInterface">
82 <value>eu.etaxonomy.cdm.api.service.IDescriptionService</value>
83 </property>
84 </bean>
85
86 <bean id="httpFeatureNodeService"
87 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
88 <property name="service">
89 <ref bean="featureNodeServiceImpl" />
90 </property>
91 <property name="serviceInterface">
92 <value>eu.etaxonomy.cdm.api.service.IFeatureNodeService</value>
93 </property>
94 </bean>
95
96 <bean id="httpFeatureTreeService"
97 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
98 <property name="service">
99 <ref bean="featureTreeServiceImpl" />
100 </property>
101 <property name="serviceInterface">
102 <value>eu.etaxonomy.cdm.api.service.IFeatureTreeService</value>
103 </property>
104 </bean>
105
106 <bean id="httpGroupService"
107 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
108 <property name="service">
109 <ref bean="groupServiceImpl" />
110 </property>
111 <property name="serviceInterface">
112 <value>eu.etaxonomy.cdm.api.service.IGroupService</value>
113 </property>
114 </bean>
115
116 <bean id="httpIdentificationKeyService"
117 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
118 <property name="service">
119 <ref bean="identificationKeyServiceImpl" />
120 </property>
121 <property name="serviceInterface">
122 <value>eu.etaxonomy.cdm.api.service.IIdentificationKeyService</value>
123 </property>
124 </bean>
125
126 <bean id="httpLocationService"
127 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
128 <property name="service">
129 <ref bean="locationServiceImpl" />
130 </property>
131 <property name="serviceInterface">
132 <value>eu.etaxonomy.cdm.api.service.ILocationService</value>
133 </property>
134 </bean>
135
136 <bean id="httpMarkerService"
137 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
138 <property name="service">
139 <ref bean="markerServiceImpl" />
140 </property>
141 <property name="serviceInterface">
142 <value>eu.etaxonomy.cdm.api.service.IMarkerService</value>
143 </property>
144 </bean>
145
146 <bean id="httpMediaService"
147 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
148 <property name="service">
149 <ref bean="mediaServiceImpl" />
150 </property>
151 <property name="serviceInterface">
152 <value>eu.etaxonomy.cdm.api.service.IMediaService</value>
153 </property>
154 </bean>
155
156 <bean id="httpNameService"
157 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
158 <property name="service">
159 <ref bean="nameServiceImpl" />
160 </property>
161 <property name="serviceInterface">
162 <value>eu.etaxonomy.cdm.api.service.INameService</value>
163 </property>
164 </bean>
165
166 <bean id="httpOccurrenceService"
167 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
168 <property name="service">
169 <ref bean="occurrenceServiceImpl" />
170 </property>
171 <property name="serviceInterface">
172 <value>eu.etaxonomy.cdm.api.service.IOccurrenceService</value>
173 </property>
174 </bean>
175
176 <bean id="httpPolytomousKeyNodeService"
177 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
178 <property name="service">
179 <ref bean="polytomousKeyNodeServiceImpl" />
180 </property>
181 <property name="serviceInterface">
182 <value>eu.etaxonomy.cdm.api.service.IPolytomousKeyNodeService</value>
183 </property>
184 </bean>
185
186 <bean id="httpPolytomousKeyService"
187 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
188 <property name="service">
189 <ref bean="polytomousKeyServiceImpl" />
190 </property>
191 <property name="serviceInterface">
192 <value>eu.etaxonomy.cdm.api.service.IPolytomousKeyService</value>
193 </property>
194 </bean>
195
196 <bean id="httpReferenceService"
197 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
198 <property name="service">
199 <ref bean="referenceServiceImpl" />
200 </property>
201 <property name="serviceInterface">
202 <value>eu.etaxonomy.cdm.api.service.IReferenceService</value>
203 </property>
204 </bean>
205
206 <bean id="httpServiceService"
207 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
208 <property name="service">
209 <ref bean="serviceImpl" />
210 </property>
211 <property name="serviceInterface">
212 <value>eu.etaxonomy.cdm.api.service.IService</value>
213 </property>
214 </bean>
215
216 <bean id="httpTaxonNodeService"
217 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
218 <property name="service">
219 <ref bean="taxonNodeServiceImpl" />
220 </property>
221 <property name="serviceInterface">
222 <value>eu.etaxonomy.cdm.api.service.ITaxonNodeService</value>
223 </property>
224 </bean>
225
226 <bean id="httpTaxonService"
227 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
228 <property name="service">
229 <ref bean="taxonServiceImpl" />
230 </property>
231 <property name="serviceInterface">
232 <value>eu.etaxonomy.cdm.api.service.ITaxonService</value>
233 </property>
234 </bean>
235
236 <bean id="httpTermService"
237 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
238 <property name="service">
239 <ref bean="termServiceImpl" />
240 </property>
241 <property name="serviceInterface">
242 <value>eu.etaxonomy.cdm.api.service.ITermService</value>
243 </property>
244 </bean>
245
246 <bean id="httpUserService"
247 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
248 <property name="service">
249 <ref bean="userService" />
250 </property>
251 <property name="serviceInterface">
252 <value>eu.etaxonomy.cdm.api.service.IUserService</value>
253 </property>
254 </bean>
255
256 <bean id="httpVocabularyService"
257 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
258 <property name="service">
259 <ref bean="vocabularyServiceImpl" />
260 </property>
261 <property name="serviceInterface">
262 <value>eu.etaxonomy.cdm.api.service.IVocabularyService</value>
263 </property>
264 </bean>
265
266 <bean id="httpWorkingService"
267 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
268 <property name="service">
269 <ref bean="workingSetService" />
270 </property>
271 <property name="serviceInterface">
272 <value>eu.etaxonomy.cdm.api.service.IWorkingSetService</value>
273 </property>
274 </bean>
275
276 <bean id="httpGrantedAuthorityService"
277 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
278 <property name="service">
279 <ref bean="grantedAuthorityServiceImpl" />
280 </property>
281 <property name="serviceInterface">
282 <value>eu.etaxonomy.cdm.api.service.IGrantedAuthorityService</value>
283 </property>
284 </bean>
285
286 <bean id="httpDatabaseService"
287 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
288 <property name="service">
289 <ref bean="databaseServiceHibernateImpl" />
290 </property>
291 <property name="serviceInterface">
292 <value>eu.etaxonomy.cdm.api.service.IDatabaseService</value>
293 </property>
294 </bean>
295
296 <bean id="httpLsidAuthorityService"
297 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
298 <property name="service">
299 <ref bean="lsidAuthorityService" />
300 </property>
301 <property name="serviceInterface">
302 <value>eu.etaxonomy.cdm.api.service.lsid.LSIDAuthorityService</value>
303 </property>
304 </bean>
305
306 <bean id="httpLsidMetadataService"
307 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
308 <property name="service">
309 <ref bean="lsidMetadataService" />
310 </property>
311 <property name="serviceInterface">
312 <value>eu.etaxonomy.cdm.api.service.lsid.LSIDMetadataService</value>
313 </property>
314 </bean>
315
316 <bean id="httpLsidDataService"
317 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
318 <property name="service">
319 <ref bean="lsidDataService" />
320 </property>
321 <property name="serviceInterface">
322 <value>eu.etaxonomy.cdm.api.service.lsid.LSIDDataService</value>
323 </property>
324 </bean>
325
326 <bean id="httpAuthenticationManager"
327 class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
328 <property name="service">
329 <ref bean="authenticationManager" />
330 </property>
331 <property name="serviceInterface">
332 <value>org.springframework.security.authentication.AuthenticationManager</value>
333 </property>
334 </bean>
335
336 </beans>