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
12 The beans for the implementation classes are declared with the @Service annotation.
13 See ClassificationServiceImpl for an example.
16 <bean id=
"httpAgentService"
17 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
18 <property name=
"service">
19 <ref bean=
"agentServiceImpl" />
21 <property name=
"serviceInterface">
22 <value>eu.etaxonomy.cdm.api.service.IAgentService
</value>
26 <bean id=
"httpAnnotationService"
27 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
28 <property name=
"service">
29 <ref bean=
"annotationService" />
31 <property name=
"serviceInterface">
32 <value>eu.etaxonomy.cdm.api.service.IAnnotationService
</value>
36 <bean id=
"httpAuditEventService"
37 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
38 <property name=
"service">
39 <ref bean=
"auditEventService" />
41 <property name=
"serviceInterface">
42 <value>eu.etaxonomy.cdm.api.service.IAuditEventService
</value>
46 <bean id=
"httpClassificationService"
47 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
48 <property name=
"service">
49 <ref bean=
"classificationServiceImpl" />
51 <property name=
"serviceInterface">
52 <value>eu.etaxonomy.cdm.api.service.IClassificationService
</value>
56 <bean id=
"httpCollectionService"
57 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
58 <property name=
"service">
59 <ref bean=
"collectionServiceImpl" />
61 <property name=
"serviceInterface">
62 <value>eu.etaxonomy.cdm.api.service.ICollectionService
</value>
66 <bean id=
"httpCommonService"
67 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
68 <property name=
"service">
69 <ref bean=
"commonServiceImpl" />
71 <property name=
"serviceInterface">
72 <value>eu.etaxonomy.cdm.api.service.ICommonService
</value>
76 <bean id=
"httpDescriptionService"
77 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
78 <property name=
"service">
79 <ref bean=
"descriptionServiceImpl" />
81 <property name=
"serviceInterface">
82 <value>eu.etaxonomy.cdm.api.service.IDescriptionService
</value>
86 <bean id=
"httpFeatureNodeService"
87 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
88 <property name=
"service">
89 <ref bean=
"featureNodeServiceImpl" />
91 <property name=
"serviceInterface">
92 <value>eu.etaxonomy.cdm.api.service.IFeatureNodeService
</value>
96 <bean id=
"httpFeatureTreeService"
97 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
98 <property name=
"service">
99 <ref bean=
"featureTreeServiceImpl" />
101 <property name=
"serviceInterface">
102 <value>eu.etaxonomy.cdm.api.service.IFeatureTreeService
</value>
106 <bean id=
"httpGroupService"
107 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
108 <property name=
"service">
109 <ref bean=
"groupServiceImpl" />
111 <property name=
"serviceInterface">
112 <value>eu.etaxonomy.cdm.api.service.IGroupService
</value>
116 <bean id=
"httpIdentificationKeyService"
117 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
118 <property name=
"service">
119 <ref bean=
"identificationKeyServiceImpl" />
121 <property name=
"serviceInterface">
122 <value>eu.etaxonomy.cdm.api.service.IIdentificationKeyService
</value>
126 <bean id=
"httpLocationService"
127 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
128 <property name=
"service">
129 <ref bean=
"locationServiceImpl" />
131 <property name=
"serviceInterface">
132 <value>eu.etaxonomy.cdm.api.service.ILocationService
</value>
136 <bean id=
"httpMarkerService"
137 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
138 <property name=
"service">
139 <ref bean=
"markerServiceImpl" />
141 <property name=
"serviceInterface">
142 <value>eu.etaxonomy.cdm.api.service.IMarkerService
</value>
146 <bean id=
"httpMediaService"
147 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
148 <property name=
"service">
149 <ref bean=
"mediaServiceImpl" />
151 <property name=
"serviceInterface">
152 <value>eu.etaxonomy.cdm.api.service.IMediaService
</value>
156 <bean id=
"httpNameService"
157 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
158 <property name=
"service">
159 <ref bean=
"nameServiceImpl" />
161 <property name=
"serviceInterface">
162 <value>eu.etaxonomy.cdm.api.service.INameService
</value>
166 <bean id=
"httpOccurrenceService"
167 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
168 <property name=
"service">
169 <ref bean=
"occurrenceServiceImpl" />
171 <property name=
"serviceInterface">
172 <value>eu.etaxonomy.cdm.api.service.IOccurrenceService
</value>
176 <bean id=
"httpPolytomousKeyNodeService"
177 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
178 <property name=
"service">
179 <ref bean=
"polytomousKeyNodeServiceImpl" />
181 <property name=
"serviceInterface">
182 <value>eu.etaxonomy.cdm.api.service.IPolytomousKeyNodeService
</value>
186 <bean id=
"httpPolytomousKeyService"
187 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
188 <property name=
"service">
189 <ref bean=
"polytomousKeyServiceImpl" />
191 <property name=
"serviceInterface">
192 <value>eu.etaxonomy.cdm.api.service.IPolytomousKeyService
</value>
196 <bean id=
"httpReferenceService"
197 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
198 <property name=
"service">
199 <ref bean=
"referenceServiceImpl" />
201 <property name=
"serviceInterface">
202 <value>eu.etaxonomy.cdm.api.service.IReferenceService
</value>
206 <bean id=
"httpServiceService"
207 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
208 <property name=
"service">
209 <ref bean=
"serviceImpl" />
211 <property name=
"serviceInterface">
212 <value>eu.etaxonomy.cdm.api.service.IService
</value>
216 <bean id=
"httpTaxonNodeService"
217 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
218 <property name=
"service">
219 <ref bean=
"taxonNodeServiceImpl" />
221 <property name=
"serviceInterface">
222 <value>eu.etaxonomy.cdm.api.service.ITaxonNodeService
</value>
226 <bean id=
"httpTaxonService"
227 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
228 <property name=
"service">
229 <ref bean=
"taxonServiceImpl" />
231 <property name=
"serviceInterface">
232 <value>eu.etaxonomy.cdm.api.service.ITaxonService
</value>
236 <bean id=
"httpTermService"
237 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
238 <property name=
"service">
239 <ref bean=
"termServiceImpl" />
241 <property name=
"serviceInterface">
242 <value>eu.etaxonomy.cdm.api.service.ITermService
</value>
246 <bean id=
"httpUserService"
247 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
248 <property name=
"service">
249 <ref bean=
"userService" />
251 <property name=
"serviceInterface">
252 <value>eu.etaxonomy.cdm.api.service.IUserService
</value>
256 <bean id=
"httpVocabularyService"
257 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
258 <property name=
"service">
259 <ref bean=
"vocabularyServiceImpl" />
261 <property name=
"serviceInterface">
262 <value>eu.etaxonomy.cdm.api.service.IVocabularyService
</value>
266 <bean id=
"httpWorkingService"
267 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
268 <property name=
"service">
269 <ref bean=
"workingSetService" />
271 <property name=
"serviceInterface">
272 <value>eu.etaxonomy.cdm.api.service.IWorkingSetService
</value>
276 <bean id=
"httpGrantedAuthorityService"
277 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
278 <property name=
"service">
279 <ref bean=
"grantedAuthorityServiceImpl" />
281 <property name=
"serviceInterface">
282 <value>eu.etaxonomy.cdm.api.service.IGrantedAuthorityService
</value>
286 <bean id=
"httpDatabaseService"
287 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
288 <property name=
"service">
289 <ref bean=
"databaseServiceHibernateImpl" />
291 <property name=
"serviceInterface">
292 <value>eu.etaxonomy.cdm.api.service.IDatabaseService
</value>
296 <bean id=
"httpLsidAuthorityService"
297 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
298 <property name=
"service">
299 <ref bean=
"lsidAuthorityService" />
301 <property name=
"serviceInterface">
302 <value>eu.etaxonomy.cdm.api.service.lsid.LSIDAuthorityService
</value>
306 <bean id=
"httpLsidMetadataService"
307 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
308 <property name=
"service">
309 <ref bean=
"lsidMetadataService" />
311 <property name=
"serviceInterface">
312 <value>eu.etaxonomy.cdm.api.service.lsid.LSIDMetadataService
</value>
316 <bean id=
"httpLsidDataService"
317 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
318 <property name=
"service">
319 <ref bean=
"lsidDataService" />
321 <property name=
"serviceInterface">
322 <value>eu.etaxonomy.cdm.api.service.lsid.LSIDDataService
</value>
326 <bean id=
"httpAuthenticationManager"
327 class=
"org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter">
328 <property name=
"service">
329 <ref bean=
"authenticationManager" />
331 <property name=
"serviceInterface">
332 <value>org.springframework.security.authentication.AuthenticationManager
</value>