<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">

<!--
	=========================================
	Copyright © 2004 VHA. All rights reserved
	=========================================
	
	@description: This file serves as a main application context file for all spring-managed
	beans in a project.  Services managed by Spring's application context are usually grouped
	and categorized by their functional context layer in their individual context file.
	Therefore, new beans should not be added to this context file.  Instead, developers should
	use a corresponding application context file to a functional layer to which a new bean belongs
	
	@project: UI
	@author: DNS   LEV
	@version: 1.1
	@note: This file contains application context loaded through a struts-plugin class 
	org.springframework.web.struts.ContextLoaderPlugIn class defined in a struts-config.xml.
	All beans defined in the individual context files in this context inherit a parent context
	loaded by org.springframework.web.context.ContextLoaderListener class defined in a web.xml.
-->
<beans default-lazy-init="true">

	<!-- 
		@description: Configuration file containging all struts-delegated spring action beans.  
		Spring action beans enable struts actions to be loaded and accessible in spring application
		context.  
	-->
	<import resource="struts-actions.xml"/>
	
	<!-- 
		@description: Configuration file containging all struts-delegated spring action beans
		for a UI admin module.
	-->
    <import resource="admin/struts-actions.xml"/>
	
	<!-- 
		@description: Configuration file containging all struts-delegated spring action beans
		for a UI comms module.
	-->
    <import resource="comms/struts-actions.xml"/>
	
	<!-- 
		@description: Configuration file containging all struts-delegated spring action beans
		for a demographic module.
	-->
    <import resource="demographic/struts-actions.xml"/>
	
	<!-- 
		@description: Configuration file containging all struts-delegated spring action beans
		for a person module.
	-->
    <import resource="person/struts-actions.xml"/>
	
	<!-- 
		@description: Configuration file containging all struts-delegated spring action beans
		for a message module.
	-->
    <import resource="message/struts-actions.xml"/>
	
	<!-- 
		@description: Configuration file containging all struts-delegated spring action beans
		for a egt module.
	-->
    <import resource="egt/struts-actions.xml"/>
	
	<!-- 
		@description: Configuration file containging all struts-delegated spring action beans
		for an ee module.
	-->
    <import resource="ee/struts-actions.xml"/>
	
	<!-- 
		@description: Configuration file containging all struts-delegated spring action beans
		for a signature module.
	-->
    <import resource="signature/struts-actions.xml"/>
	
	<!-- 
		@description: Configuration file containging all struts-delegated spring action beans
		for a facility module.
	-->
    <import resource="facility/struts-actions.xml"/>
	
	<!-- 
		@description: Configuration file containging all struts-delegated spring action beans
		for a financials module.
	-->
    <import resource="financials/struts-actions.xml"/>
	
	<!-- 
		@description: Configuration file containging all struts-delegated spring action beans
		for a militaryservice module.
	-->
    <import resource="militaryservice/struts-actions.xml"/>
	
	<!-- 
		@description: Configuration file containging all struts-delegated spring action beans
		for a workflow module.
	-->
    <import resource="workflow/struts-actions.xml"/>


	<!-- 
		@description: Configuration file containing all struts-delegated spring action beans
		for a voa module.
	-->
    <import resource="voa/struts-actions.xml"/>
	
	<!-- 
		@description: Configuration file containging all struts-delegated spring action beans
		for a report module.
	-->
    <import resource="report/struts-actions.xml"/>

  <!-- Property placeholder post-processor -->
    <!-- class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"-->
    <bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="locations" value="classpath*:deployenv.properties" />
      <!-- ensure this occurs first -->
      <property name="order">
          <bean id="gov.va.med.fw.service.config.ConfigPriorityOrder.HIGH"
              class="org.springframework.beans.factory.config.FieldRetrievingFactoryBean"/>
      </property>
      <property name="properties">
        <props>
        <prop key="isDataClean">true</prop>
        </props>
      </property>
    </bean>

</beans>