<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   	xmlns:context="http://www.springframework.org/schema/context"
  	xsi:schemaLocation="http://www.springframework.org/schema/beans 
  		http://www.springframework.org/schema/beans/spring-beans.xsd
    	http://www.springframework.org/schema/context  
    	http://www.springframework.org/schema/context/spring-context-3.0.xsd">
 		
 	<context:property-placeholder location="file:/etc/dataone/index/jdbc.properties, file:/etc/dataone/index/solr.properties"/>
 	
	<import resource="classpath:index-context-file-includes.xml" />   
    
	<import resource="classpath:index-processor-context.xml"/>
	
	<bean id="log4jInitialization"
     class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
        <property name="targetClass"
      value="org.springframework.util.Log4jConfigurer" />
        <property name="targetMethod" value="initLogging" />
        <property name="arguments">
            <list>
                <value>file:/etc/dataone/index/log4j-processor.properties</value>
            </list>
        </property>
    </bean>
	
	<bean id="indexTaskProcessorScheduler" class="org.dataone.cn.index.processor.IndexTaskProcessorScheduler"/>
	<bean id="indexTaskProcessorJob" class="org.dataone.cn.index.processor.IndexTaskProcessorJob" />
</beans>