1 |
7542
|
tao
|
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
3 |
|
|
xmlns:p="http://www.springframework.org/schema/p"
|
4 |
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
5 |
|
|
xmlns:context="http://www.springframework.org/schema/context"
|
6 |
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
7 |
|
|
http://www.springframework.org/schema/beans/spring-beans.xsd
|
8 |
|
|
http://www.springframework.org/schema/context
|
9 |
|
|
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
|
10 |
|
|
|
11 |
|
|
<import resource="application-context-eml-base.xml" />
|
12 |
|
|
<import resource="application-context-eml200.xml" />
|
13 |
|
|
<import resource="application-context-eml201.xml" />
|
14 |
|
|
<import resource="application-context-eml210.xml" />
|
15 |
|
|
<import resource="application-context-eml211.xml" />
|
16 |
|
|
|
17 |
|
|
<import resource="application-context-fgdc-base.xml" />
|
18 |
|
|
<import resource="application-context-fgdc-std-001-1998.xml" />
|
19 |
|
|
<import resource="application-context-fgdc-std-0011-1999.xml" />
|
20 |
|
|
<import resource="application-context-fgdc-std-0012-1999.xml" />
|
21 |
|
|
<import resource="application-context-fgdc-esri-csdg-80.xml" />
|
22 |
|
|
|
23 |
|
|
<import resource="application-context-dryad-base.xml" />
|
24 |
|
|
<import resource="application-context-dryad30.xml" />
|
25 |
|
|
<import resource="application-context-dryad31.xml" />
|
26 |
|
|
|
27 |
|
|
<import resource="application-context-resourcemap.xml" />
|
28 |
|
|
<import resource="application-context-systemmeta100.xml" />
|
29 |
|
|
|
30 |
|
|
<bean id="dateConverter" class="org.dataone.cn.indexer.convert.SolrDateConverter" />
|
31 |
|
|
<bean id="fgdcDateConverter" class="org.dataone.cn.indexer.convert.FgdcDateConverter"/>
|
32 |
|
|
<bean id="solrLatitudeConverter" class="org.dataone.cn.indexer.convert.SolrLatitudeConverter" />
|
33 |
|
|
<bean id="solrLongitudeConverter" class="org.dataone.cn.indexer.convert.SolrLongitudeConverter" />
|
34 |
|
|
<bean id="booleanPublicConverter" class="org.dataone.cn.indexer.convert.BooleanMatchConverter">
|
35 |
|
|
<constructor-arg value="public" />
|
36 |
|
|
</bean>
|
37 |
|
|
<bean id="formatIdToFormatTypeConverter" class="org.dataone.cn.indexer.convert.FormatIdToFormatTypeConverter" />
|
38 |
|
|
|
39 |
|
|
<bean id="solrIndexes" class="java.util.ArrayList" autowire="byName">
|
40 |
|
|
<constructor-arg>
|
41 |
|
|
<list>
|
42 |
|
|
<bean class="edu.ucsb.nceas.metacat.index.SolrIndex">
|
43 |
|
|
<!-- <constructor-arg name="fields" ref="xpath_system_metadata_100">
|
44 |
|
|
</constructor-arg>
|
45 |
|
|
<constructor-arg name="xmlNamespaceConfig" ref="xmlNamespaceConfig" />
|
46 |
|
|
<property name="solrBaseUri" value="${solr.base.uri}" />
|
47 |
|
|
<property name="httpService" ref="httpService" /> -->
|
48 |
|
|
<property name="subprocessors">
|
49 |
|
|
<list>
|
50 |
|
|
<ref bean="eml200Subprocessor" />
|
51 |
|
|
<ref bean="eml201Subprocessor" />
|
52 |
|
|
<ref bean="eml210Subprocessor" />
|
53 |
|
|
<ref bean="eml211Subprocessor" />
|
54 |
|
|
<ref bean="resourceMapSubprocessor" />
|
55 |
|
|
<ref bean="fgdcstd0011998Subprocessor" />
|
56 |
|
|
<ref bean="fgdcstd00111999Subprocessor" />
|
57 |
|
|
<ref bean="fgdcstd00121999Subprocessor" />
|
58 |
|
|
<ref bean="fgdcEsri80Subprocessor" />
|
59 |
|
|
<ref bean="dryad30Subprocessor" />
|
60 |
|
|
<ref bean="dryad31Subprocessor" />
|
61 |
|
|
</list>
|
62 |
|
|
</property>
|
63 |
|
|
</bean>
|
64 |
|
|
</list>
|
65 |
|
|
</constructor-arg>
|
66 |
|
|
</bean>
|
67 |
|
|
|
68 |
|
|
<bean id="xmlNamespaceConfig" class="org.dataone.cn.indexer.XMLNamespaceConfig">
|
69 |
|
|
<constructor-arg name="namespaceList">
|
70 |
|
|
<list>
|
71 |
|
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
72 |
|
|
<constructor-arg name="namespace"
|
73 |
|
|
value="http://ns.dataone.org/service/types/v1" />
|
74 |
|
|
<constructor-arg name="prefix" value="d100" />
|
75 |
|
|
</bean>
|
76 |
|
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
77 |
|
|
<constructor-arg name="namespace"
|
78 |
|
|
value="eml://ecoinformatics.org/eml-2.0.0" />
|
79 |
|
|
<constructor-arg name="prefix" value="eml200" />
|
80 |
|
|
</bean>
|
81 |
|
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
82 |
|
|
<constructor-arg name="namespace"
|
83 |
|
|
value="eml://ecoinformatics.org/eml-2.0.1" />
|
84 |
|
|
<constructor-arg name="prefix" value="eml201" />
|
85 |
|
|
</bean>
|
86 |
|
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
87 |
|
|
<constructor-arg name="namespace"
|
88 |
|
|
value="eml://ecoinformatics.org/eml-2.1.0" />
|
89 |
|
|
<constructor-arg name="prefix" value="eml210" />
|
90 |
|
|
</bean>
|
91 |
|
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
92 |
|
|
<constructor-arg name="namespace"
|
93 |
|
|
value="eml://ecoinformatics.org/eml-2.1.1" />
|
94 |
|
|
<constructor-arg name="prefix" value="eml211" />
|
95 |
|
|
</bean>
|
96 |
|
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
97 |
|
|
<constructor-arg name="prefix" value="cito" />
|
98 |
|
|
<constructor-arg name="namespace" value="http://purl.org/spar/cito/" />
|
99 |
|
|
</bean>
|
100 |
|
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
101 |
|
|
<constructor-arg name="prefix" value="dc" />
|
102 |
|
|
<constructor-arg name="namespace"
|
103 |
|
|
value="http://purl.org/dc/elements/1.1/" />
|
104 |
|
|
</bean>
|
105 |
|
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
106 |
|
|
<constructor-arg name="prefix" value="dcterms" />
|
107 |
|
|
<constructor-arg name="namespace" value="http://purl.org/dc/terms/" />
|
108 |
|
|
</bean>
|
109 |
|
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
110 |
|
|
<constructor-arg name="prefix" value="dwc" />
|
111 |
|
|
<constructor-arg name="namespace" value="http://rs.tdwg.org/dwc/terms/" />
|
112 |
|
|
</bean>
|
113 |
|
|
|
114 |
|
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
115 |
|
|
<constructor-arg name="prefix" value="foaf" />
|
116 |
|
|
<constructor-arg name="namespace" value="http://xmlns.com/foaf/0.1/" />
|
117 |
|
|
</bean>
|
118 |
|
|
|
119 |
|
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
120 |
|
|
<constructor-arg name="prefix" value="ore" />
|
121 |
|
|
<constructor-arg name="namespace" value="http://www.openarchives.org/ore/terms/" />
|
122 |
|
|
</bean>
|
123 |
|
|
|
124 |
|
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
125 |
|
|
<constructor-arg name="prefix" value="rdf" />
|
126 |
|
|
<constructor-arg name="namespace" value="http://www.w3.org/1999/02/22-rdf-syntax-ns#" />
|
127 |
|
|
</bean>
|
128 |
|
|
|
129 |
|
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
130 |
|
|
<constructor-arg name="prefix" value="rdfs1" />
|
131 |
|
|
<constructor-arg name="namespace" value="http://www.w3.org/2001/01/rdf-schema#" />
|
132 |
|
|
</bean>
|
133 |
|
|
|
134 |
|
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
135 |
|
|
<constructor-arg name="prefix" value="bibo" />
|
136 |
|
|
<constructor-arg name="namespace" value="http://purl.org/ontology/bibo/" />
|
137 |
|
|
</bean>
|
138 |
|
|
|
139 |
|
|
<bean class="org.dataone.cn.indexer.XMLNamespace">
|
140 |
|
|
<constructor-arg name="prefix" value="dryad" />
|
141 |
|
|
<constructor-arg name="namespace" value="http://purl.org/dryad/terms/" />
|
142 |
|
|
</bean>
|
143 |
|
|
|
144 |
|
|
</list>
|
145 |
|
|
</constructor-arg>
|
146 |
|
|
</bean>
|
147 |
|
|
|
148 |
|
|
</beans>
|