Project

General

Profile

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
		<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
		<!-- <property name="httpService" ref="httpService"></property>
10
		<property name="solrQueryUri" value="${solr.query.uri}"></property> -->
11
	</bean>
12
13
	<!--  <bean id="httpService" class="org.dataone.cn.indexer.solrhttp.HTTPService">
14
        <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
    <bean id="httpConnectionManager" class="org.apache.http.impl.conn.SingleClientConnManager"/> -->
29
30
</beans>