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


	<!--  This bean sets up property replacement so that variables can be externalized to system properties -->
	<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
		<property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
		<property name="locations">
			<list>
				<!-- <value>classpath:gov/va/med/tfs/config/properties/defaultNonWeblogic.properties</value> -->
				<value>file:resources/properties/tfs.properties</value>
			</list>
		</property>
	</bean>

	<bean id="tfrDataSource" class="org.apache.commons.dbcp2.BasicDataSource" destroy-method="close">
		<property name="driverClassName" value="oracle.jdbc.driver.OracleDriver" />
		<property name="url" value="jdbc:oracle:thin:@${tfs.jdbc.host}:${tfs.jdbc.port}:${tfs.jdbc.dbname}" />
		<property name="username" value="${tfs.jdbc.username}" />
		<property name="password" value="${tfs.jdbc.password}" />
		<property name="defaultAutoCommit" value="true"/>
	</bean>

</beans>
