ff41038b955822a32559f15e8a801657880f70bb
[SpringWebServicesForFun/.git] /
1 package de.spring.webservices.configuration;
2
3 import org.springframework.context.annotation.Bean;
4 import org.springframework.context.annotation.Configuration;
5 import org.springframework.validation.beanvalidation.LocalValidatorFactoryBean;
6
7 @Configuration
8 public class ValidatorConfiguration {
9
10           @Bean
11           public LocalValidatorFactoryBean localValidatorFactoryBean() {
12             return new LocalValidatorFactoryBean();
13           }
14
15 }