Revision 82f1ed6e
Added by Andreas Kohlbecker over 12 years ago
cdmlib-remote-webapp/src/main/webapp/WEB-INF/json-views.xml | ||
---|---|---|
3 | 3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | 4 |
xsi:schemaLocation="http://www.springframework.org/schema/beans |
5 | 5 |
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> |
6 |
|
|
7 |
<!--
|
|
6 |
|
|
7 |
<!-- |
|
8 | 8 |
=============================================================== |
9 |
This is the configuaration file for the
|
|
9 |
This is the configuration file for the
|
|
10 | 10 |
eu.etaxonomy.cdm.remote.view.PatternViewResolver |
11 | 11 |
=============================================================== |
12 |
|
|
13 |
- bean names are ant style patterns
|
|
14 |
- the eu.etaxonomy.cdm.remote.view.PatternViewResolver
|
|
15 |
must be used to resolve patterns used as bean names
|
|
12 |
|
|
13 |
- bean names are ant style patterns
|
|
14 |
- the eu.etaxonomy.cdm.remote.view.PatternViewResolver
|
|
15 |
must be used to resolve patterns used as bean names
|
|
16 | 16 |
--> |
17 |
|
|
17 |
|
|
18 | 18 |
<!-- entity services --> |
19 | 19 |
<bean name="**/*" class="eu.etaxonomy.cdm.remote.view.JsonView"> |
20 |
<property name="jsonConfig" ref="jsonConfig" />
|
|
20 |
<property name="jsonConfig" ref="jsonConfig" />
|
|
21 | 21 |
</bean> |
22 |
|
|
22 |
|
|
23 | 23 |
<!-- taxonomy service --> |
24 | 24 |
<bean name="**/classification **/classification/* **/classification/**/*" class="eu.etaxonomy.cdm.remote.view.JsonView"> |
25 | 25 |
<property name="jsonConfig" ref="jsonConfigClassification" /> |
26 | 26 |
</bean> |
27 |
|
|
27 |
|
|
28 | 28 |
<!-- portal service --> |
29 | 29 |
<bean name="**/portal/* **/portal/**/*" class="eu.etaxonomy.cdm.remote.view.JsonView"> |
30 | 30 |
<property name="jsonConfig" ref="jsonConfigPortal" /> |
cdmlib-remote-webapp/src/main/webapp/WEB-INF/oai-views.xml | ||
---|---|---|
3 | 3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | 4 |
xsi:schemaLocation="http://www.springframework.org/schema/beans |
5 | 5 |
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> |
6 |
|
|
7 |
<!--
|
|
6 |
|
|
7 |
<!-- |
|
8 | 8 |
=============================================================== |
9 |
This is the configuaration file for a
|
|
9 |
This is the configuration file for a
|
|
10 | 10 |
eu.etaxonomy.cdm.remote.view.XMLViewResolver |
11 | 11 |
=============================================================== |
12 | 12 |
--> |
... | ... | |
15 | 15 |
<property name="marshaller" ref="marshaller"/> |
16 | 16 |
<property name="mapper" ref="dozerMapper"/> |
17 | 17 |
</bean> |
18 |
|
|
18 |
|
|
19 | 19 |
<bean name="oai/identify" class="eu.etaxonomy.cdm.remote.view.oaipmh.IdentifyView"> |
20 | 20 |
<property name="contentType" value="text/xml; charset=UTF-8"/> |
21 | 21 |
<property name="marshaller" ref="marshaller"/> |
22 | 22 |
<property name="mapper" ref="dozerMapper"/> |
23 | 23 |
</bean> |
24 |
|
|
24 |
|
|
25 | 25 |
<bean name="oai/getRecord.rdf" class="eu.etaxonomy.cdm.remote.view.oaipmh.rdf.GetRecordView"> |
26 | 26 |
<property name="contentType" value="text/xml; charset=UTF-8"/> |
27 | 27 |
<property name="marshaller" ref="marshaller"/> |
28 | 28 |
<property name="mapper" ref="dozerMapper"/> |
29 | 29 |
</bean> |
30 |
|
|
30 |
|
|
31 | 31 |
<bean name="oai/getRecord.dc" class="eu.etaxonomy.cdm.remote.view.oaipmh.dc.GetRecordView"> |
32 | 32 |
<property name="contentType" value="text/xml; charset=UTF-8"/> |
33 | 33 |
<property name="marshaller" ref="marshaller"/> |
34 | 34 |
<property name="mapper" ref="dozerMapper"/> |
35 | 35 |
</bean> |
36 |
|
|
36 |
|
|
37 | 37 |
<bean name="oai/getRecord.dwc" class="eu.etaxonomy.cdm.remote.view.oaipmh.dwc.GetRecordView"> |
38 | 38 |
<property name="contentType" value="text/xml; charset=UTF-8"/> |
39 | 39 |
<property name="marshaller" ref="marshaller"/> |
40 | 40 |
<property name="mapper" ref="dozerMapper"/> |
41 | 41 |
</bean> |
42 |
|
|
43 |
|
|
42 |
|
|
43 |
|
|
44 | 44 |
<bean name="oai/listMetadataFormats" class="eu.etaxonomy.cdm.remote.view.oaipmh.ListMetadataFormatsView"> |
45 | 45 |
<property name="contentType" value="text/xml; charset=UTF-8"/> |
46 | 46 |
<property name="marshaller" ref="marshaller"/> |
47 | 47 |
<property name="mapper" ref="dozerMapper"/> |
48 | 48 |
</bean> |
49 |
|
|
49 |
|
|
50 | 50 |
<bean name="oai/listSets" class="eu.etaxonomy.cdm.remote.view.oaipmh.ListSetsView"> |
51 | 51 |
<property name="contentType" value="text/xml; charset=UTF-8"/> |
52 | 52 |
<property name="marshaller" ref="marshaller"/> |
53 | 53 |
<property name="mapper" ref="dozerMapper"/> |
54 | 54 |
</bean> |
55 |
|
|
55 |
|
|
56 | 56 |
<bean name="oai/listIdentifiers" class="eu.etaxonomy.cdm.remote.view.oaipmh.ListIdentifiersView"> |
57 | 57 |
<property name="contentType" value="text/xml; charset=UTF-8"/> |
58 | 58 |
<property name="marshaller" ref="marshaller"/> |
59 | 59 |
<property name="mapper" ref="dozerMapper"/> |
60 | 60 |
</bean> |
61 |
|
|
61 |
|
|
62 | 62 |
<bean name="oai/listRecords.rdf" class="eu.etaxonomy.cdm.remote.view.oaipmh.rdf.ListRecordsView"> |
63 | 63 |
<property name="contentType" value="text/xml; charset=UTF-8"/> |
64 | 64 |
<property name="marshaller" ref="marshaller"/> |
65 | 65 |
<property name="mapper" ref="dozerMapper"/> |
66 | 66 |
</bean> |
67 |
|
|
67 |
|
|
68 | 68 |
<bean name="oai/listRecords.dc" class="eu.etaxonomy.cdm.remote.view.oaipmh.dc.ListRecordsView"> |
69 | 69 |
<property name="contentType" value="text/xml; charset=UTF-8"/> |
70 | 70 |
<property name="marshaller" ref="marshaller"/> |
cdmlib-remote-webapp/src/main/webapp/WEB-INF/xml-views.xml | ||
---|---|---|
3 | 3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | 4 |
xsi:schemaLocation="http://www.springframework.org/schema/beans |
5 | 5 |
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> |
6 |
|
|
7 |
<!--
|
|
6 |
|
|
7 |
<!-- |
|
8 | 8 |
=============================================================== |
9 |
This is the configuaration file for the
|
|
9 |
This is the configuration file for the
|
|
10 | 10 |
eu.etaxonomy.cdm.remote.view.PatternViewResolver |
11 | 11 |
=============================================================== |
12 |
|
|
13 |
- bean names are ant style patterns
|
|
14 |
- the eu.etaxonomy.cdm.remote.view.PatternViewResolver
|
|
15 |
must be used to resolve patterns used as bean names
|
|
12 |
|
|
13 |
- bean names are ant style patterns
|
|
14 |
- the eu.etaxonomy.cdm.remote.view.PatternViewResolver
|
|
15 |
must be used to resolve patterns used as bean names
|
|
16 | 16 |
--> |
17 |
|
|
17 |
|
|
18 | 18 |
<!-- entity services --> |
19 | 19 |
<bean name="**/*" class="eu.etaxonomy.cdm.remote.view.JsonView"> |
20 |
<property name="type" value="XML" />
|
|
21 |
<!-- <property name="xsl" value="humane.xsl" /> -->
|
|
22 |
<property name="jsonConfig" ref="jsonConfig" />
|
|
20 |
<property name="type" value="XML" />
|
|
21 |
<!-- <property name="xsl" value="humane.xsl" /> -->
|
|
22 |
<property name="jsonConfig" ref="jsonConfig" />
|
|
23 | 23 |
</bean> |
24 |
|
|
24 |
|
|
25 | 25 |
<!-- taxonomy service --> |
26 | 26 |
<bean name="**/classification **/classification/* **/classification/**/*" class="eu.etaxonomy.cdm.remote.view.JsonView"> |
27 | 27 |
<property name="type" value="XML" /> |
28 | 28 |
<!-- <property name="xsl" value="humane.xsl" /> --> |
29 | 29 |
<property name="jsonConfig" ref="jsonConfigClassification" /> |
30 | 30 |
</bean> |
31 |
|
|
31 |
|
|
32 | 32 |
<!-- portal service --> |
33 | 33 |
<bean name="**/portal/* **/portal/**/*" class="eu.etaxonomy.cdm.remote.view.JsonView"> |
34 | 34 |
<property name="type" value="XML" /> |
35 | 35 |
<!-- <property name="xsl" value="humane.xsl" /> --> |
36 | 36 |
<property name="jsonConfig" ref="jsonConfigPortal" /> |
37 | 37 |
</bean> |
38 |
|
|
39 |
<!-- management service
|
|
38 |
|
|
39 |
<!-- management service |
|
40 | 40 |
<bean name="/manager/*.xml /manager/**/*.xml" class="eu.etaxonomy.cdm.remote.view.JsonView"> |
41 | 41 |
<property name="type" value="XML" /> |
42 | 42 |
</bean> |
Also available in: Unified diff
typos