Convert resources to string locations so that path info can be extracted easily
[smart-util.git] / smart-util / smart-spring-util / src / test / resources / test-app-context.xml
blobec9588ffc229e5cf4a04d364b6f1fb62bebc97ef
1 <?xml version="1.0" encoding="UTF-8"?>
3 <!--
4  *   
5  * This is a utility project for wide range of applications
6  * 
7  * Copyright (C) 2008  Imran M Yousuf (imyousuf@smartitengineering.com)
8  * 
9  * This library is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public
11  * License as published by the Free Software Foundation; either
12  * version 3 of the License, or (at your option) any later version.
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16  * Lesser General Public License for more details.
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
20  *
21  *
22 -->
23 <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "spring-beans.dtd"  >
24 <beans>
25     <bean id="propertyConfigurer" class="com.smartitengineering.util.spring.PropertiesLocatorConfigurer">
26         <property name="smartLocations">
27             <list>
28                 <value>test-config.properties</value>
29             </list>
30         </property>
31     </bean>
32     <bean id="testBean" class="com.smartitengineering.util.spring.TestBean">
33         <property name="propertyDefault">
34             <value>${testbean.default}</value>
35         </property>
36         <property name="propertyClassPath">
37             <value>${testbean.cp}</value>
38         </property>
39         <property name="propertyCurrentDir">
40             <value>${testbean.current_dir}</value>
41         </property>
42         <property name="propertyUserHome">
43             <value>${testbean.user_home}</value>
44         </property>
45     </bean>
46 </beans>