<?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:util="http://www.springframework.org/schema/util"
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">

	<bean id="vistaDataSourceBindingsLocator" class="gov.va.med.cds.persistence.JNDITestDataSourceBindingsLocator">
		<property name="dataSourceBindings">
			<list>
				<bean class="javax.naming.Binding">
					<constructor-arg>
						<value>503</value>
					</constructor-arg>
					<constructor-arg>
						<ref bean="vista503DataSource" />
					</constructor-arg>
				</bean>
				<bean class="javax.naming.Binding">
					<constructor-arg>
						<value>504</value>
					</constructor-arg>
					<constructor-arg>
						<ref bean="vista504DataSource" />
					</constructor-arg>
				</bean>
				<bean class="javax.naming.Binding">
					<constructor-arg>
						<value>578</value>
					</constructor-arg>
					<constructor-arg>
						<ref bean="vista578DataSource" />
					</constructor-arg>
				</bean>
				<bean class="javax.naming.Binding">
					<constructor-arg>
						<value>580</value>
					</constructor-arg>
					<constructor-arg>
						<ref bean="vista580DataSource" />
					</constructor-arg>
				</bean>
				<bean class="javax.naming.Binding">
					<constructor-arg>
						<value>247</value>
					</constructor-arg>
					<constructor-arg>
						<ref bean="vista247DataSource" />
					</constructor-arg>
				</bean>
				<bean class="javax.naming.Binding">
					<constructor-arg>
						<value>248</value>
					</constructor-arg>
					<constructor-arg>
						<ref bean="vista248DataSource" />
					</constructor-arg>
				</bean>
				<bean class="javax.naming.Binding">
					<constructor-arg>
						<value>654</value>
					</constructor-arg>
					<constructor-arg>
						<ref bean="vista654DataSource" />
					</constructor-arg>
				</bean>
<!--				<bean class="javax.naming.Binding">-->
<!--					<constructor-arg>-->
<!--						<value>992</value>-->
<!--					</constructor-arg>-->
<!--					<constructor-arg>-->
<!--						<ref bean="vista992DataSource" />-->
<!--					</constructor-arg>-->
<!--				</bean>-->
<!--				<bean class="javax.naming.Binding">-->
<!--					<constructor-arg>-->
<!--						<value>657</value>-->
<!--					</constructor-arg>-->
<!--					<constructor-arg>-->
<!--						<ref bean="vista657DataSource" />-->
<!--					</constructor-arg>-->
<!--				</bean>-->
<!--				<bean class="javax.naming.Binding">-->
<!--					<constructor-arg>-->
<!--						<value>613</value>-->
<!--					</constructor-arg>-->
<!--					<constructor-arg>-->
<!--						<ref bean="vista613DataSource" />-->
<!--					</constructor-arg>-->
<!--				</bean>-->
			</list>
		</property>
	</bean>

	<bean id="vista503DataSource" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
		<property name="driverClassName" value="com.intersys.jdbc.CacheDriver" />
		<property name="url" value="${vista503DataSourceUrl}" />
		<property name="username" value="${vista503DataSourceUsername}" />
		<property name="password" value="${vista503DataSourcePassword}" />
		<property name="defaultAutoCommit" value="false" />
		<property name="maxWaitMillis" value="100" />
		<property name="initialSize" value="5" />
		<property name="maxTotal" value="25" />
	</bean>

	<bean id="vista504DataSource" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
		<property name="driverClassName" value="com.intersys.jdbc.CacheDriver" />
		<property name="url" value="${vista504DataSourceUrl}" />
		<property name="username" value="${vista504DataSourceUsername}" />
		<property name="password" value="${vista504DataSourcePassword}" />
		<property name="defaultAutoCommit" value="false" />
		<property name="maxWaitMillis" value="100" />
		<property name="initialSize" value="5" />
		<property name="maxTotal" value="25" />
	</bean>

	<bean id="vista578DataSource" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
		<property name="driverClassName" value="com.intersys.jdbc.CacheDriver" />
		<property name="url" value="${vista578DataSourceUrl}" />
		<property name="username" value="${vista578DataSourceUsername}" />
		<property name="password" value="${vista578DataSourcePassword}" />
		<property name="defaultAutoCommit" value="false" />
		<property name="maxWaitMillis" value="100" />
		<property name="initialSize" value="5" />
		<property name="maxTotal" value="25" />
	</bean>

	<bean id="vista580DataSource" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
		<property name="driverClassName" value="com.intersys.jdbc.CacheDriver" />
		<property name="url" value="${vista580DataSourceUrl}" />
		<property name="username" value="${vista580DataSourceUsername}" />
		<property name="password" value="${vista580DataSourcePassword}" />
		<property name="defaultAutoCommit" value="false" />
		<property name="maxWaitMillis" value="100" />
		<property name="initialSize" value="5" />
		<property name="maxTotal" value="25" />
	</bean>

	<bean id="vista247DataSource" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
		<property name="driverClassName" value="com.intersys.jdbc.CacheDriver" />
		<property name="url" value="${vista247DataSourceUrl}" />
		<property name="username" value="${vista247DataSourceUsername}" />
		<property name="password" value="${vista247DataSourcePassword}" />
		<property name="defaultAutoCommit" value="false" />
		<property name="maxWaitMillis" value="100" />
		<property name="initialSize" value="5" />
		<property name="maxTotal" value="25" />
	</bean>
	
	<bean id="vista248DataSource" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
		<property name="driverClassName" value="com.intersys.jdbc.CacheDriver" />
		<property name="url" value="${vista248DataSourceUrl}" />
		<property name="username" value="${vista248DataSourceUsername}" />
		<property name="password" value="${vista248DataSourcePassword}" />
		<property name="defaultAutoCommit" value="false" />
		<property name="maxWaitMillis" value="100" />
		<property name="initialSize" value="5" />
		<property name="maxTotal" value="25" />
	</bean>
	
	<bean id="vista654DataSource" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
		<property name="driverClassName" value="com.intersys.jdbc.CacheDriver" />
		<property name="url" value="${vista654DataSourceUrl}" />
		<property name="username" value="${vista654DataSourceUsername}" />
		<property name="password" value="${vista654DataSourcePassword}" />
		<property name="defaultAutoCommit" value="false" />
		<property name="maxWaitMillis" value="100" />
		<property name="initialSize" value="5" />
		<property name="maxTotal" value="25" />
	</bean>
</beans>
