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

	<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
		<property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE"/>
		<property name="locations">
			<list>
				<value>file:${REP_ROOT}/clients/idm-ws-client/main/resources/properties/idm.properties</value>
			</list>
		</property>
	</bean>

	<bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean" lazy-init="false">
		<property name="targetClass" value="gov.va.med.caip.client.factory.BusinessDelegateFactory"/>
   		<property name="targetMethod"><value>configureCaip</value></property>
   		<property name="arguments">
     		<list>
       			<value type="java.io.InputStream">file:${idm.caip.configfile.path}</value>
     		</list>
   		</property>
	</bean>

	<import resource="classpath:gov/va/med/cds/idm/client/config/idmWebserviceClientContext.xml"/>

</beans>
