servlet-context.xml 1.19 KB
Newer Older
Peter Harrison's avatar
Peter Harrison committed
1 2 3 4 5 6 7 8
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" 
	xmlns:mvc="http://www.springframework.org/schema/mvc"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:beans="http://www.springframework.org/schema/beans"
	xmlns:task="http://www.springframework.org/schema/task"
	xmlns:context="http://www.springframework.org/schema/context"
	xsi:schemaLocation="
9 10 11 12 13 14 15 16
        http://www.springframework.org/schema/mvc 
        http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd
        http://www.springframework.org/schema/context 
        http://www.springframework.org/schema/context/spring-context-3.1.xsd
        http://www.springframework.org/schema/task 	
        http://www.springframework.org/schema/task/spring-task-3.1.xsd
        http://www.springframework.org/schema/beans 
        http://www.springframework.org/schema/beans/spring-beans-3.1.xsd">
Peter Harrison's avatar
Peter Harrison committed
17 18 19 20 21 22 23 24 25 26 27
        
 	<context:annotation-config/>
 	
 	<bean id="gravityConfiguration"
		class="org.springframework.beans.factory.config.PropertiesFactoryBean">
		<property name="location" value="file:///etc/gravity.conf" />
	</bean>
	
	<context:property-placeholder properties-ref="gravityConfiguration"/>
 	
</beans>