1 |
8127
|
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 |
|
|
<bean id="resourceMapSubprocessor" class="edu.ucsb.nceas.metacat.index.resourcemap.ResourceMapSubprocessor">
|
7 |
9018
|
leinfelder
|
<property name="matchDocuments">
|
8 |
|
|
<list>
|
9 |
|
|
<value>http://www.openarchives.org/ore/terms</value>
|
10 |
|
|
</list>
|
11 |
|
|
</property>
|
12 |
8127
|
tao
|
<!-- <property name="httpService" ref="httpService"></property>
|
13 |
|
|
<property name="solrQueryUri" value="${solr.query.uri}"></property> -->
|
14 |
|
|
</bean>
|
15 |
|
|
|
16 |
|
|
<!-- <bean id="httpService" class="org.dataone.cn.indexer.solrhttp.HTTPService">
|
17 |
|
|
<constructor-arg ref="httpClientFactory" />
|
18 |
|
|
<property name="solrSchemaPath" value="${solr.schema.path}" />
|
19 |
|
|
<property name="solrIndexUri" value="${solr.index.uri}" />
|
20 |
|
|
</bean>
|
21 |
|
|
|
22 |
|
|
<bean id="httpClientFactory" class="org.springframework.http.client.HttpComponentsClientHttpRequestFactory"
|
23 |
|
|
p:connectTimeout="5000" >
|
24 |
|
|
<constructor-arg ref="httpClient" />
|
25 |
|
|
</bean>
|
26 |
|
|
|
27 |
|
|
<bean id="httpClient" class="org.apache.http.impl.client.DefaultHttpClient">
|
28 |
|
|
<constructor-arg ref="httpConnectionManager"/>
|
29 |
|
|
</bean>
|
30 |
|
|
|
31 |
|
|
<bean id="httpConnectionManager" class="org.apache.http.impl.conn.SingleClientConnManager"/> -->
|
32 |
|
|
|
33 |
|
|
</beans>
|