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:
tx=
"http://www.springframework.org/schema/tx"
5 xmlns:
context=
"http://www.springframework.org/schema/context"
6 xsi:
schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
7 http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd
8 http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.3.xsd
11 <bean id=
"genericApiCardinalityPropertyFilter" class=
"eu.etaxonomy.cdm.remote.json.util.CardinalityPropertyFilter">
12 <property name=
"includeToOneRelations" value=
"false" />
13 <property name=
"includeToManyRelations" value=
"false" />
14 <property name=
"exceptions">
17 the exceptions listed here should be covered by implementations of
18 eu.etaxonomy.cdm.persistence.dao.initializer.AutoPropertyInitializer.
19 The according configuration files are
20 - /cdmlib-persistence/src/main/resources/eu/etaxonomy/cdm/persistence_security.xml
21 - /cdmlib-persistence/src/main/resources/eu/etaxonomy/cdm/persistence.xml
22 whereas persistence.xml will be removed in the near future.
24 <value>TermTree.root
</value>
25 <value>TermNode.children
</value>
26 <value>TermNode.feature
</value>
28 <value>NomenclaturalStatus.source
</value>
29 <value>DescriptionElementSource.citation
</value>
31 <value>TreeNode.data
</value>
32 <value>TreeNode.data
</value>
34 <value>PolytomousKey.root
</value>
35 <value>PolytomousKeyNode.children
</value>
36 <value>PolytomousKeyNode.question
</value>
37 <value>PolytomousKeyNode.feature
</value>
38 <value>PolytomousKeyNode.statement
</value>
39 <value>PolytomousKeyNode.modifyingText
</value>
40 <value>PolytomousKeyNode.otherNode
</value>
42 <value>LinkedPolytomousKeyNodeRowDto.childStatement
</value>
43 <value>LinkedPolytomousKeyNodeRowDto.rowQuestion
</value>
44 <value>LinkedPolytomousKeyNodeRowDto.rowFeature
</value>
45 <!-- value>LinkedPolytomousKeyNodeRowDto.keyNode</value-->
47 <value>Media.representations</value>
48 <value>MediaRepresentation.parts</value>
50 <value>Sequence.marker</value>
51 <value>Sequence.genBankAccessionNumber</value>
52 <value>Sequence.genBankUri</value>
54 <value>Annotation.annotationType</value>
55 <value>Marker.markerType</value>
57 <value>DerivationEvent.derivatives</value>
58 <value>DerivationEvent.originals</value>
60 <value>Point.referenceSystem</value>
62 <!-- CardinalityPropertyFilter should allow defining exceptions for abstract super classes : -->
63 <!-- <value>eu.etaxonomy.cdm.model.description.DescriptionElementBase.feature</value> -->
65 <value>Synonym.sec
</value>
66 <value>Taxon.sec
</value>
68 <value>StateData.state
</value>
69 <value>StateData.modifiers
</value>
70 <value>StateData.modifyingText
</value>
72 <value>TextData.feature
</value>
73 <value>CategoricalData.feature
</value>
74 <value>CommonTaxonName.feature
</value>
75 <value>Distribution.feature
</value>
76 <value>IndividualsAssociation.feature
</value>
77 <value>QuantitativeData.feature
</value>
78 <value>TaxonInteraction.feature
</value>
79 <value>TextData.feature
</value>
80 <value>IdentifiableSource.citation
</value>
82 <value>Registration.name
</value>
83 <value>Registration.typeDesignations
</value>
84 <value>Registration.institution
</value>
86 <value>SearchResult.entity
</value>
88 <value>CdmEntity.entity
</value>
93 <bean id=
"nameCatalogueApiCardinalityPropertyFilter" class=
"eu.etaxonomy.cdm.remote.json.util.CardinalityPropertyFilter">
94 <property name=
"includeToOneRelations" value=
"true" />
95 <property name=
"includeToManyRelations" value=
"true" />
96 <property name=
"exceptions">
103 =================================================
104 default configuration for RESTful read(/write) service
105 =================================================
107 <bean name=
"jsonConfig" class=
"eu.etaxonomy.cdm.remote.json.JsonConfigFactoryBean"
109 <property name=
"jsonBeanProcessorMatcher">
111 class=
"eu.etaxonomy.cdm.remote.json.processor.matcher.CdmProxyBeanProcessorMatcher" />
113 <property name=
"defaultValueProcessorMatcher">
115 class=
"eu.etaxonomy.cdm.remote.json.processor.matcher.CdmDefaultValueProcessorMatcher" />
117 <property name=
"defaultValueProcessorMap">
119 <entry key=
"java.lang.Number">
121 class=
"eu.etaxonomy.cdm.remote.json.processor.value.CdmDefaultValueProcessor" />
125 <property name=
"jsonBeanProcessors">
127 <entry key=
"org.hibernate.proxy.HibernateProxy">
128 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.HibernateProxyBeanProcessor" />
130 <entry key=
"eu.etaxonomy.cdm.model.term.TermBase">
131 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TermBaseBeanProcessor">
132 <property name=
"excludes">
133 <set value-type=
"java.lang.String">
134 <value>partOf
</value><!-- FIXME exclude partOf to avoid lazy loading exceptions -->
135 <value>kindOf
</value><!-- FIXME exclude kindOf to avoid lazy loading exceptions -->
136 <value>infraGenericMarker
</value><!-- FIXME leads to IllegalStateException if not excluded -->
141 <entry key=
"eu.etaxonomy.cdm.model.term.Representation">
142 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.RepresentationBeanProcessor"/>
144 <entry key=
"eu.etaxonomy.cdm.model.media.Media">
145 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.MediaBeanProcessor">
146 <property name=
"replaceTitle" value=
"true" />
147 <property name=
"replaceDescription" value=
"true" />
150 <entry key=
"eu.etaxonomy.cdm.model.taxon.TaxonNode">
151 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNodeBeanProcessor" />
153 <entry key=
"eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto">
154 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNodeDtoBeanProcessor" />
156 <entry key=
"eu.etaxonomy.cdm.model.location.Point">
157 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.PointBeanProcessor"/>
159 <entry key=
"eu.etaxonomy.cdm.model.reference.Reference">
160 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.ReferenceBaseBeanProcessor"/>
162 <entry key=
"eu.etaxonomy.cdm.model.name.TaxonName">
164 class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNameBeanProcessor">
165 <property name=
"skipTaggedName" value=
"true" />
168 <entry key=
"eu.etaxonomy.cdm.model.name.TypeDesignationBase">
169 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TypeDesignationBaseBeanProcessor"/>
171 <entry key=
"eu.etaxonomy.cdm.model.description.KeyStatement">
172 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.KeyStatementBeanProcessor" />
174 <entry key=
"eu.etaxonomy.cdm.model.agent.TeamOrPersonBase">
175 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TeamOrPersonBaseBeanProcessor" />
177 <entry key=
"eu.etaxonomy.cdm.model.description.DescriptionElementBase">
178 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.DescriptionElementBeanProcessor" />
180 <!-- TODO this bean processor is unused but preserved for the time when the REST API will be revised (#8637)
181 <entry key="eu.etaxonomy.cdm.model.reference.CdmLinkSource">
182 <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.CdmLinkSourceBeanProcessor" />
185 <entry key=
"eu.etaxonomy.cdm.model.description.StateData">
186 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.StateDataBeanProcessor" />
188 <entry key=
"org.apache.lucene.document.Document">
189 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.LuceneDocumentBeanProcessor" />
191 <entry key=
"eu.etaxonomy.cdm.api.service.dto.RegistrationDTO">
192 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.RegistrationDtoBeanProcessor" />
196 <property name=
"jsonPropertyFilter">
197 <bean class=
"net.sf.json.filters.OrPropertyFilter">
199 <bean class=
"eu.etaxonomy.cdm.remote.json.util.InitializedHibernatePropertyFilter" />
201 <constructor-arg ref=
"genericApiCardinalityPropertyFilter">
205 <property name=
"jsonValueProcessorsByClass">
207 <entry key=
"org.hibernate.proxy.HibernateProxy">
209 class=
"eu.etaxonomy.cdm.remote.json.processor.value.HibernateJSONValueProcessor" />
211 <entry key=
"java.util.UUID">
213 class=
"eu.etaxonomy.cdm.remote.json.processor.value.UUIDJSONValueProcessor" />
215 <entry key=
"org.joda.time.DateTime">
217 class=
"eu.etaxonomy.cdm.remote.json.processor.value.DateTimeJSONValueProcessor" />
219 <entry key=
"java.util.Calendar">
221 class=
"eu.etaxonomy.cdm.remote.json.processor.value.CalendarJSONValueProcessor" />
223 <entry key=
"org.joda.time.Partial">
225 class=
"eu.etaxonomy.cdm.remote.json.processor.value.PartialJSONValueProcessor" />
227 <entry key=
"java.lang.Class">
229 class=
"eu.etaxonomy.cdm.remote.json.processor.value.ClassJSONValueProcessor" />
231 <entry key=
"java.util.Map">
232 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.MapJSONValueProcessor" />
234 <entry key=
"java.util.LinkedHashMap">
235 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.MapJSONValueProcessor" />
237 <entry key=
"eu.etaxonomy.cdm.api.service.name.TypeDesignationWorkingSet">
238 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.MapJSONValueProcessor" />
240 <entry key=
"java.net.URI">
241 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.URIJSONValueProcessor"/>
243 <entry key=
"eu.etaxonomy.cdm.model.taxon.TaxonNodeStatus">
244 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.KeyTermValueProcessor"/>
246 <entry key=
"eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType">
247 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.KeyTermValueProcessor"/>
251 <property name=
"ignoreDefaultExcludes" value=
"true" />
252 <property name=
"excludes">
253 <list value-type=
"java.lang.String">
254 <value>declaringClass
</value><!-- DefaultExclude -->
255 <value>metaClass
</value><!-- DefaultExclude -->
257 <value>cacheStrategy
</value>
258 <value>createdBy
</value>
259 <value>updatedBy
</value>
260 <!-- TODO this bean processor is unused but preserved for the time when the REST API will be revised (#8637)
261 <value>cdmSourceTarget</value><! - - OriginalSourceBase.getCdmSourceTarget() -->
267 =================================================
268 configuration for RESTful classification service
269 =================================================
271 <bean name=
"jsonConfigClassification" class=
"eu.etaxonomy.cdm.remote.json.JsonConfigFactoryBean"
273 <property name=
"jsonBeanProcessorMatcher">
275 class=
"eu.etaxonomy.cdm.remote.json.processor.matcher.HibernateProxyBeanProcessorMatcher" />
277 <property name=
"jsonBeanProcessors">
279 <entry key=
"org.hibernate.proxy.HibernateProxy">
281 class=
"eu.etaxonomy.cdm.remote.json.processor.bean.HibernateProxyBeanProcessor" />
283 <entry key=
"eu.etaxonomy.cdm.model.taxon.TaxonNode">
285 class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNode2DtoBeanProcessor" />
287 <entry key=
"eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto">
289 class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNodeDtoBeanProcessor" />
293 <property name=
"jsonPropertyFilter">
294 <bean class=
"net.sf.json.filters.OrPropertyFilter">
296 <bean class=
"eu.etaxonomy.cdm.remote.json.util.InitializedHibernatePropertyFilter" />
298 <constructor-arg ref=
"genericApiCardinalityPropertyFilter">
302 <property name=
"jsonValueProcessorsByClass">
304 <entry key=
"org.hibernate.proxy.HibernateProxy">
306 class=
"eu.etaxonomy.cdm.remote.json.processor.value.HibernateJSONValueProcessor" />
308 <entry key=
"java.util.UUID">
310 class=
"eu.etaxonomy.cdm.remote.json.processor.value.UUIDJSONValueProcessor" />
312 <entry key=
"org.joda.time.DateTime">
314 class=
"eu.etaxonomy.cdm.remote.json.processor.value.DateTimeJSONValueProcessor" />
316 <entry key=
"java.util.Calendar">
318 class=
"eu.etaxonomy.cdm.remote.json.processor.value.CalendarJSONValueProcessor" />
320 <entry key=
"org.joda.time.Partial">
322 class=
"eu.etaxonomy.cdm.remote.json.processor.value.PartialJSONValueProcessor" />
324 <entry key=
"java.lang.Class">
326 class=
"eu.etaxonomy.cdm.remote.json.processor.value.ClassJSONValueProcessor" />
328 <entry key=
"java.util.Map">
329 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.MapJSONValueProcessor" />
331 <entry key=
"java.net.URI">
332 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.URIJSONValueProcessor"/>
334 <entry key=
"eu.etaxonomy.cdm.model.taxon.TaxonNodeStatus">
335 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.KeyTermValueProcessor" />
337 <entry key=
"eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType">
338 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.KeyTermValueProcessor"/>
342 <property name=
"ignoreDefaultExcludes" value=
"true" />
343 <property name=
"excludes">
344 <list value-type=
"java.lang.String">
345 <value>declaringClass
</value><!-- DefaultExclude -->
346 <value>metaClass
</value><!-- DefaultExclude -->
348 <value>cacheStrategy
</value>
349 <value>createdBy
</value>
350 <value>updatedBy
</value>
356 =================================================
357 configuration for RESTful portal service
358 =================================================
361 <bean name=
"jsonConfigPortal" class=
"eu.etaxonomy.cdm.remote.json.JsonConfigFactoryBean"
363 <property name=
"jsonBeanProcessorMatcher">
365 class=
"eu.etaxonomy.cdm.remote.json.processor.matcher.CdmProxyBeanProcessorMatcher" />
367 <property name=
"defaultValueProcessorMatcher">
369 class=
"eu.etaxonomy.cdm.remote.json.processor.matcher.CdmDefaultValueProcessorMatcher" />
371 <property name=
"defaultValueProcessorMap">
373 <entry key=
"java.lang.Number">
375 class=
"eu.etaxonomy.cdm.remote.json.processor.value.CdmDefaultValueProcessor" />
379 <property name=
"jsonBeanProcessors">
381 <entry key=
"org.hibernate.proxy.HibernateProxy">
383 class=
"eu.etaxonomy.cdm.remote.json.processor.bean.HibernateProxyBeanProcessor" />
385 <entry key=
"eu.etaxonomy.cdm.model.taxon.TaxonBase">
386 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TaxonBaseBeanProcessor">
387 <property name=
"excludes">
388 <set value-type=
"java.lang.String">
389 <value>acceptedTaxon
</value><!-- #6211 to avoid infinite loops in the synonymy -->
394 <entry key=
"eu.etaxonomy.cdm.model.name.TaxonName">
395 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNameBeanProcessor">
396 <property name=
"excludes">
397 <set value-type=
"java.lang.String">
398 <value>homotypicalGroup
</value>
403 <entry key=
"eu.etaxonomy.cdm.model.taxon.TaxonNode">
404 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNodeBeanProcessor">
405 <property name=
"replaceMultilanguageText" value=
"true" />
408 <entry key=
"eu.etaxonomy.cdm.persistence.dto.TaxonNodeDto">
409 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNodeDtoBeanProcessor" />
411 <entry key=
"eu.etaxonomy.cdm.model.name.TypeDesignationBase">
412 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TypeDesignationBaseBeanProcessor">
413 <property name=
"replaceMultilanguageText" value=
"true" />
416 <entry key=
"eu.etaxonomy.cdm.model.name.NameRelationship">
418 class=
"eu.etaxonomy.cdm.remote.json.processor.bean.NameRelationshipBeanProcessor" />
420 <entry key=
"eu.etaxonomy.cdm.model.taxon.TaxonRelationship">
422 class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TaxonRelationshipBeanProcessor" />
424 <entry key=
"eu.etaxonomy.cdm.model.term.TermBase">
426 class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TermBaseBeanProcessor">
427 <property name=
"replaceRepresentations" value=
"true" />
428 <property name=
"excludes">
429 <set value-type=
"java.lang.String">
430 <value>infraGenericMarker
</value><!-- FIXME leads to IllegalStateException if not excluded -->
431 <value>partOf
</value><!-- DefinedTermBase -->
432 <value>kindOf
</value><!-- DefinedTermBase -->
433 <value>includes
</value><!-- DefinedTermBase -->
434 <value>generalizationOf
</value><!-- DefinedTermBase -->
435 <value>vocabulary
</value><!-- DefinedTermBase -->
437 FIXME must exclude partOf, kindOf, includes, generalizationOf .. to
438 avoid class cast or lazy loading exceptions in TDWG Areas
444 <entry key=
"eu.etaxonomy.cdm.model.media.Media">
445 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.MediaBeanProcessor">
446 <property name=
"replaceTitle" value=
"true" />
447 <property name=
"replaceDescription" value=
"true" />
450 <entry key=
"eu.etaxonomy.cdm.model.reference.Reference">
451 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.ReferenceBaseBeanProcessor"/>
453 <entry key=
"eu.etaxonomy.cdm.model.description.TaxonNameDescription">
454 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TaxonNameDescriptionBeanProcessor">
455 <property name=
"excludes">
456 <set value-type=
"java.lang.String">
457 <value>taxonName
</value>
462 <entry key=
"eu.etaxonomy.cdm.api.facade.DerivedUnitFacade">
463 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.DerivedUnitFacadeBeanProcessor"/>
465 <entry key=
"eu.etaxonomy.cdm.model.location.Point">
466 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.PointBeanProcessor"/>
468 <entry key=
"eu.etaxonomy.cdm.model.agent.TeamOrPersonBase">
469 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TeamOrPersonBaseBeanProcessor" />
471 <!-- TODO this bean processor is unused but preserved for the time when the REST API will be revised (#8637)
472 <entry key="eu.etaxonomy.cdm.model.reference.CdmLinkSource">
473 <bean class="eu.etaxonomy.cdm.remote.json.processor.bean.CdmLinkSourceBeanProcessor" />
476 <entry key=
"org.apache.lucene.document.Document">
477 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.LuceneDocumentBeanProcessor" />
479 <entry key=
"eu.etaxonomy.cdm.common.TreeNode">
480 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.TreeNodeBeanProcessor" />
482 <entry key=
"eu.etaxonomy.cdm.model.description.DescriptionElementBase">
483 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.DescriptionElementBeanProcessor">
484 <property name=
"replaceMultilanguageText" value=
"true" />
487 <entry key=
"eu.etaxonomy.cdm.model.description.StateData">
488 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.StateDataBeanProcessor">
489 <property name=
"replaceMultilanguageText" value=
"true" />
492 <entry key=
"eu.etaxonomy.cdm.model.description.KeyStatement">
493 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.KeyStatementBeanProcessor" />
495 <entry key=
"eu.etaxonomy.cdm.api.service.dto.RegistrationDTO">
496 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.bean.RegistrationDtoBeanProcessor" />
500 <property name=
"jsonPropertyFilter">
501 <bean class=
"eu.etaxonomy.cdm.remote.json.util.InitializedHibernatePropertyFilter" />
503 <property name=
"jsonValueProcessorsByClass">
505 <entry key=
"org.hibernate.proxy.HibernateProxy">
507 class=
"eu.etaxonomy.cdm.remote.json.processor.value.HibernateJSONValueProcessor" />
509 <entry key=
"java.util.UUID">
511 class=
"eu.etaxonomy.cdm.remote.json.processor.value.UUIDJSONValueProcessor" />
513 <entry key=
"org.joda.time.DateTime">
515 class=
"eu.etaxonomy.cdm.remote.json.processor.value.DateTimeJSONValueProcessor" />
517 <entry key=
"java.util.Calendar">
519 class=
"eu.etaxonomy.cdm.remote.json.processor.value.CalendarJSONValueProcessor" />
521 <entry key=
"org.joda.time.Partial">
523 class=
"eu.etaxonomy.cdm.remote.json.processor.value.PartialJSONValueProcessor" />
525 <entry key=
"java.lang.Class">
527 class=
"eu.etaxonomy.cdm.remote.json.processor.value.ClassJSONValueProcessor" />
529 <entry key=
"java.util.Map">
530 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.MapJSONValueProcessor" />
532 <entry key=
"java.util.LinkedHashMap">
533 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.MapJSONValueProcessor" />
535 <entry key=
"eu.etaxonomy.cdm.api.service.name.TypeDesignationWorkingSet">
536 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.MapJSONValueProcessor" />
538 <entry key=
"java.net.URI">
539 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.URIJSONValueProcessor"/>
541 <entry key=
"eu.etaxonomy.cdm.model.taxon.TaxonNodeStatus">
542 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.KeyTermValueProcessor" />
544 <entry key=
"eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationType">
545 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.KeyTermValueProcessor"/>
549 <property name=
"ignoreDefaultExcludes" value=
"true" />
550 <property name=
"excludes">
551 <list value-type=
"java.lang.String">
552 <value>declaringClass
</value><!-- DefaultExclude -->
553 <value>metaClass
</value><!-- DefaultExclude -->
557 see #3347 (services and REST service controller for molecular classes implemented)
558 <value>annotations</value>
559 <value>markers</value>
561 <value>cacheStrategy
</value>
562 <value>createdBy
</value>
563 <value>updatedBy
</value>
564 <value>inDescription
</value>
565 <!-- TODO this bean processor is unused but preserved for the time when the REST API will be revised (#8637)
566 <value>cdmSourceTarget</value>< !- - OriginalSourceBase.getCdmSourceTarget() -->
572 =================================================
573 default configuration name catalogue service
574 =================================================
576 <bean name=
"nameCatalogueJsonConfig" class=
"eu.etaxonomy.cdm.remote.json.JsonConfigFactoryBean"
578 <property name=
"jsonPropertyFilter">
579 <bean class=
"net.sf.json.filters.OrPropertyFilter">
581 <bean class=
"eu.etaxonomy.cdm.remote.json.util.InitializedHibernatePropertyFilter" />
583 <constructor-arg ref=
"nameCatalogueApiCardinalityPropertyFilter">
587 <property name=
"jsonValueProcessorsByClass">
589 <entry key=
"org.hibernate.proxy.HibernateProxy">
591 class=
"eu.etaxonomy.cdm.remote.json.processor.value.HibernateJSONValueProcessor" />
593 <entry key=
"java.util.UUID">
595 class=
"eu.etaxonomy.cdm.remote.json.processor.value.UUIDJSONValueProcessor" />
597 <entry key=
"org.joda.time.DateTime">
599 class=
"eu.etaxonomy.cdm.remote.json.processor.value.DateTimeJSONValueProcessor" />
601 <entry key=
"java.util.Calendar">
603 class=
"eu.etaxonomy.cdm.remote.json.processor.value.CalendarJSONValueProcessor" />
605 <entry key=
"org.joda.time.Partial">
607 class=
"eu.etaxonomy.cdm.remote.json.processor.value.PartialJSONValueProcessor" />
609 <entry key=
"java.util.Map">
610 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.MapJSONValueProcessor" />
612 <entry key=
"java.net.URI">
613 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.URIJSONValueProcessor"/>
617 <property name=
"ignoreDefaultExcludes" value=
"true" />
618 <property name=
"excludes">
619 <list value-type=
"java.lang.String">
621 <value>declaringClass
</value><!-- DefaultExclude -->
622 <value>metaClass
</value><!-- DefaultExclude -->
624 <value>cacheStrategy
</value>
625 <value>createdBy
</value>
626 <value>updatedBy
</value>
631 <bean name=
"occurrenceCatalogueJsonConfig" class=
"eu.etaxonomy.cdm.remote.json.JsonConfigFactoryBean"
633 <property name=
"jsonPropertyFilter">
634 <bean class=
"net.sf.json.filters.OrPropertyFilter">
636 <bean class=
"eu.etaxonomy.cdm.remote.json.util.InitializedHibernatePropertyFilter" />
638 <constructor-arg ref=
"nameCatalogueApiCardinalityPropertyFilter">
642 <property name=
"jsonValueProcessorsByClass">
644 <entry key=
"org.hibernate.proxy.HibernateProxy">
646 class=
"eu.etaxonomy.cdm.remote.json.processor.value.HibernateJSONValueProcessor" />
648 <entry key=
"java.util.UUID">
650 class=
"eu.etaxonomy.cdm.remote.json.processor.value.UUIDJSONValueProcessor" />
652 <entry key=
"org.joda.time.DateTime">
654 class=
"eu.etaxonomy.cdm.remote.json.processor.value.DateTimeJSONValueProcessor" />
656 <entry key=
"java.util.Calendar">
658 class=
"eu.etaxonomy.cdm.remote.json.processor.value.CalendarJSONValueProcessor" />
660 <entry key=
"org.joda.time.Partial">
662 class=
"eu.etaxonomy.cdm.remote.json.processor.value.PartialJSONValueProcessor" />
664 <entry key=
"java.util.Map">
665 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.MapJSONValueProcessor" />
667 <entry key=
"java.net.URI">
668 <bean class=
"eu.etaxonomy.cdm.remote.json.processor.value.URIJSONValueProcessor"/>
673 <property name=
"ignoreDefaultExcludes" value=
"true" />
674 <property name=
"excludes">
675 <list value-type=
"java.lang.String">
677 <value>declaringClass
</value><!-- DefaultExclude -->
678 <value>metaClass
</value><!-- DefaultExclude -->
680 <value>cacheStrategy
</value>
681 <value>createdBy
</value>
682 <value>updatedBy
</value>