<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:aop="http://www.springframework.org/schema/aop" xmlns="http://www.springframework.org/schema/beans"
	xmlns:tx="http://www.springframework.org/schema/tx" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:util="http://www.springframework.org/schema/util"
	xsi:schemaLocation="
		http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
		http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
		http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-3.0.xsd">

	<!-- 
	<bean id="AggregateProcessor" class="gov.va.med.cds.ars.persistents.AggregateProcessor">
		<property name="clientListDataFactory" ref="clientListDataFactory" />
		<property name="idmService" ref="patientIdentifierCorrelation" />
		<property name="readPersistence" ref="fullPersistence" />
	</bean>
 	-->
 
<!-- 
	<bean id="clientListDataFactory" class="gov.va.med.cds.ars.client.ClientListDataFactory">
		<property name="clientListDataUnmarshaller" ref="clientListDataUnmarshaller" />
	</bean>

	<bean id="clientListDataUnmarshaller" class="gov.va.med.cds.ars.client.schema.ClientListDataUnmarshaller" >
		<constructor-arg name="myJAXBContext" ref="jaxbContext" />
		<constructor-arg name="mySchemaFactory" ref="schemaFactory" />
		<constructor-arg name="clientListsSchema" type="org.springframework.core.io.Resource" value="classpath:resources/ClientPatientLists.xsd" />
		<constructor-arg name="validator" ref="validator" />
	</bean>
	
	<bean id="jaxbContext" class="javax.xml.bind.JAXBContext" factory-method="newInstance" >
		<constructor-arg type="java.lang.String" value="${ars.generated.client.jaxbcontext}" />
	</bean>
	
	<bean id="schemaFactory" class="javax.xml.validation.SchemaFactory" factory-method="newInstance" >
		<constructor-arg type="java.lang.String" value="http://www.w3.org/2001/XMLSchema" />
	</bean>
	 	
	<bean id="validator" class="gov.va.med.cds.ars.client.schema.ClientListDataUnmarshaller$Validator" />
	-->
	
</beans>
