/alaspatial/src/main/webapp/WEB-INF/spring/app-config.xml
XML | 21 lines | 14 code | 4 blank | 3 comment | 0 complexity | 46a4e1fb5cbca8e7c9ade12050e117a3 MD5 | raw file
1<?xml version="1.0" encoding="UTF-8"?> 2<beans xmlns="http://www.springframework.org/schema/beans" 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xmlns:context="http://www.springframework.org/schema/context" 5 xsi:schemaLocation=" 6 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd 7 http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd"> 8 9 <!-- Scans the classpath of this application for @Components to deploy as beans --> 10 <context:component-scan base-package="org.ala.spatial" /> 11 12 <!-- Application Message Bundle --> 13 <bean id="messageSource" class="org.springframework.context.support.ReloadableResourceBundleMessageSource"> 14 <property name="basename" value="/WEB-INF/messages/messages" /> 15 <property name="cacheSeconds" value="0" /> 16 </bean> 17 18 <!-- Configures Spring MVC --> 19 <import resource="mvc-config.xml" /> 20 21</beans>