Project

General

Profile

1
<?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-resource-map.xml" />
28
    <import resource="application-context-systemmeta100.xml" />
29
    
30
     
31
    <import resource="application-context-oa.xml" />
32
    <import resource="application-context-annotator.xml" />
33
    
34
    
35
    <!-- <import resource="application-context-ao.xml" /> -->
36
    
37

    
38
 <bean id="dateConverter" class="org.dataone.cn.indexer.convert.SolrDateConverter" />
39
 <bean id="fgdcDateConverter" class="org.dataone.cn.indexer.convert.FgdcDateConverter"/>
40
 <bean id="solrLatitudeConverter" class="org.dataone.cn.indexer.convert.SolrLatitudeConverter" />
41
 <bean id="solrLongitudeConverter" class="org.dataone.cn.indexer.convert.SolrLongitudeConverter" />
42
 <bean id="booleanPublicConverter" class="org.dataone.cn.indexer.convert.BooleanMatchConverter">
43
  <constructor-arg value="public" />
44
 </bean>
45
 <bean id="formatIdToFormatTypeConverter" class="org.dataone.cn.indexer.convert.FormatIdToFormatTypeConverter" />
46
 
47
 <bean id="geohashConverter_1" class="org.dataone.cn.indexer.convert.GeohashConverter">
48
 	<property name="length" value="1"/>
49
 </bean>
50
 
51
 <bean id="geohashConverter_2" class="org.dataone.cn.indexer.convert.GeohashConverter">
52
 	<property name="length" value="2"/>
53
 </bean>
54
 
55
  <bean id="geohashConverter_3" class="org.dataone.cn.indexer.convert.GeohashConverter">
56
 	<property name="length" value="3"/>
57
 </bean>
58
 
59
  <bean id="geohashConverter_4" class="org.dataone.cn.indexer.convert.GeohashConverter">
60
 	<property name="length" value="4"/>
61
 </bean>
62
 
63
  <bean id="geohashConverter_5" class="org.dataone.cn.indexer.convert.GeohashConverter">
64
 	<property name="length" value="5"/>
65
 </bean>
66
 
67
  <bean id="geohashConverter_6" class="org.dataone.cn.indexer.convert.GeohashConverter">
68
 	<property name="length" value="6"/>
69
 </bean>
70
 
71
  <bean id="geohashConverter_7" class="org.dataone.cn.indexer.convert.GeohashConverter">
72
 	<property name="length" value="7"/>
73
 </bean>
74
 
75
  <bean id="geohashConverter_8" class="org.dataone.cn.indexer.convert.GeohashConverter">
76
 	<property name="length" value="8"/>
77
 </bean>
78
 
79
  <bean id="geohashConverter_9" class="org.dataone.cn.indexer.convert.GeohashConverter">
80
 	<property name="length" value="9"/>
81
 </bean>
82

    
83
 <bean id="solrIndexes" class="java.util.ArrayList" autowire="byName">
84
  <constructor-arg>
85
   <list>
86
    <bean class="edu.ucsb.nceas.metacat.index.SolrIndex">
87
     <constructor-arg name="xmlNamespaceConfig" ref="xmlNamespaceConfig" />
88
     <constructor-arg name="sysmetaSolrFields" ref="xpath_system_metadata_100"/>
89
     <!--<property name="solrBaseUri" value="${solr.base.uri}" />
90
     <property name="httpService" ref="httpService" /> -->
91
     <property name="subprocessors">
92
      <list>
93
       <ref bean="eml200Subprocessor" />
94
       <ref bean="eml201Subprocessor" />
95
       <ref bean="eml210Subprocessor" />
96
       <ref bean="eml211Subprocessor" />
97
       <ref bean="resourceMapSubprocessor" />
98
       <ref bean="fgdcstd0011998Subprocessor" />
99
       <ref bean="fgdcstd00111999Subprocessor" />
100
       <ref bean="fgdcstd00121999Subprocessor" />
101
       <ref bean="fgdcEsri80Subprocessor" />
102
       <ref bean="dryad30Subprocessor" />
103
       <ref bean="dryad31Subprocessor" />
104
       <ref bean="rdfXmlSubprocessor" />
105
       <ref bean="annotatorSubprocessor" />
106
       
107
      </list>
108
     </property>
109
    </bean>
110
   </list>
111
  </constructor-arg>
112
 </bean>
113
 
114
 <bean id="xmlNamespaceConfig" class="org.dataone.cn.indexer.XMLNamespaceConfig">
115
  <constructor-arg name="namespaceList">
116
   <list>
117
    
118
    <bean class="org.dataone.cn.indexer.XMLNamespace">
119
     <constructor-arg name="namespace"
120
      value="http://ns.dataone.org/service/types/v2.0" />
121
     <constructor-arg name="prefix" value="d200" />
122
    </bean>
123
    <bean class="org.dataone.cn.indexer.XMLNamespace">
124
     <constructor-arg name="namespace"
125
      value="eml://ecoinformatics.org/eml-2.0.0" />
126
     <constructor-arg name="prefix" value="eml200" />
127
    </bean>
128
    <bean class="org.dataone.cn.indexer.XMLNamespace">
129
     <constructor-arg name="namespace"
130
      value="eml://ecoinformatics.org/eml-2.0.1" />
131
     <constructor-arg name="prefix" value="eml201" />
132
    </bean>
133
    <bean class="org.dataone.cn.indexer.XMLNamespace">
134
     <constructor-arg name="namespace"
135
      value="eml://ecoinformatics.org/eml-2.1.0" />
136
     <constructor-arg name="prefix" value="eml210" />
137
    </bean>
138
    <bean class="org.dataone.cn.indexer.XMLNamespace">
139
     <constructor-arg name="namespace"
140
      value="eml://ecoinformatics.org/eml-2.1.1" />
141
     <constructor-arg name="prefix" value="eml211" />
142
    </bean>
143
    <bean class="org.dataone.cn.indexer.XMLNamespace">
144
     <constructor-arg name="prefix" value="cito" />
145
     <constructor-arg name="namespace" value="http://purl.org/spar/cito/" />
146
    </bean>
147
    <bean class="org.dataone.cn.indexer.XMLNamespace">
148
     <constructor-arg name="prefix" value="dc" />
149
     <constructor-arg name="namespace"
150
      value="http://purl.org/dc/elements/1.1/" />
151
    </bean>
152
    <bean class="org.dataone.cn.indexer.XMLNamespace">
153
     <constructor-arg name="prefix" value="dcterms" />
154
     <constructor-arg name="namespace" value="http://purl.org/dc/terms/" />
155
    </bean>
156
     <bean class="org.dataone.cn.indexer.XMLNamespace">
157
     	<constructor-arg name="prefix" value="dwc" />
158
     	<constructor-arg name="namespace" value="http://rs.tdwg.org/dwc/terms/" />
159
    </bean>
160
    
161
    <bean class="org.dataone.cn.indexer.XMLNamespace">
162
		<constructor-arg name="prefix" value="foaf" />
163
		<constructor-arg name="namespace" value="http://xmlns.com/foaf/0.1/" />
164
    </bean>
165
    
166
    <bean class="org.dataone.cn.indexer.XMLNamespace">
167
		<constructor-arg name="prefix" value="ore" />
168
     	<constructor-arg name="namespace" value="http://www.openarchives.org/ore/terms/" />
169
    </bean>
170
    
171
    <bean class="org.dataone.cn.indexer.XMLNamespace">
172
		<constructor-arg name="prefix" value="rdf" />
173
     	<constructor-arg name="namespace" value="http://www.w3.org/1999/02/22-rdf-syntax-ns#" />
174
    </bean>
175
    
176
    <bean class="org.dataone.cn.indexer.XMLNamespace">
177
    	<constructor-arg name="prefix" value="rdfs1" />
178
    	<constructor-arg name="namespace" value="http://www.w3.org/2001/01/rdf-schema#" />
179
    </bean>
180
    
181
    <bean class="org.dataone.cn.indexer.XMLNamespace">
182
    	<constructor-arg name="prefix" value="bibo" />
183
    	<constructor-arg name="namespace" value="http://purl.org/ontology/bibo/" />
184
    </bean>
185
    
186
	<bean class="org.dataone.cn.indexer.XMLNamespace">
187
    	<constructor-arg name="prefix" value="dryad" />
188
    	<constructor-arg name="namespace" value="http://purl.org/dryad/terms/" />
189
    </bean>   
190
    
191
   </list>
192
  </constructor-arg>
193
 </bean>
194

    
195
</beans>
(12-12/13)