Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (23 sloc) 1.36 KB
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
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
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">
<!-- Build-Id: EMPTY -->
<!-- activates various annotations to be detected in bean classes -->
<context:annotation-config />
<!-- scan packages for controllers+mappings -->
<context:component-scan base-package="com.vraidsys.server" />
<!-- using inline annotations to set URIs, mappings, config -->
<mvc:annotation-driven />
<!-- use inline annotation-driven validation -->
<bean id="configurationLoader"
class="org.springmodules.validation.bean.conf.loader.annotation.AnnotationBeanValidationConfigurationLoader" />
<bean id="validator" class="org.springmodules.validation.bean.BeanValidator">
<property name="configurationLoader" ref="configurationLoader" />
</bean>
</beans>