1 |
7542
|
tao
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
2 |
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3 |
|
|
xmlns:p="http://www.springframework.org/schema/p"
|
4 |
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
|
5 |
|
|
|
6 |
7697
|
tao
|
<bean id="resourceMapSubprocessor" class="edu.ucsb.nceas.metacat.index.resourcemap.ResourceMapSubprocessor">
|
7 |
7542
|
tao
|
<property name="matchDocument"
|
8 |
|
|
value="/d100:systemMetadata/formatId[text()='http://www.openarchives.org/ore/terms'] | /d100:systemMetadata/formatId[text()='http://www.w3.org/TR/rdf-syntax-grammar']" />
|
9 |
7697
|
tao
|
<!-- <property name="httpService" ref="httpService"></property>
|
10 |
|
|
<property name="solrQueryUri" value="${solr.query.uri}"></property> -->
|
11 |
7542
|
tao
|
</bean>
|
12 |
|
|
|
13 |
7697
|
tao
|
<!-- <bean id="httpService" class="org.dataone.cn.indexer.solrhttp.HTTPService">
|
14 |
7542
|
tao
|
<constructor-arg ref="httpClientFactory" />
|
15 |
|
|
<property name="solrSchemaPath" value="${solr.schema.path}" />
|
16 |
|
|
<property name="solrIndexUri" value="${solr.index.uri}" />
|
17 |
|
|
</bean>
|
18 |
|
|
|
19 |
|
|
<bean id="httpClientFactory" class="org.springframework.http.client.HttpComponentsClientHttpRequestFactory"
|
20 |
|
|
p:connectTimeout="5000" >
|
21 |
|
|
<constructor-arg ref="httpClient" />
|
22 |
|
|
</bean>
|
23 |
|
|
|
24 |
|
|
<bean id="httpClient" class="org.apache.http.impl.client.DefaultHttpClient">
|
25 |
|
|
<constructor-arg ref="httpConnectionManager"/>
|
26 |
|
|
</bean>
|
27 |
|
|
|
28 |
7697
|
tao
|
<bean id="httpConnectionManager" class="org.apache.http.impl.conn.SingleClientConnManager"/> -->
|
29 |
7542
|
tao
|
|
30 |
|
|
</beans>
|