Class ValidationAutoConfiguration
- java.lang.Object
-
- com.netflix.genie.web.spring.autoconfigure.ValidationAutoConfiguration
-
@Configuration public class ValidationAutoConfiguration extends java.lang.Object
Configuration for bean validation within Genie.- Since:
- 3.0.0
-
-
Constructor Summary
Constructors Constructor Description ValidationAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.validation.beanvalidation.LocalValidatorFactoryBean
localValidatorFactoryBean()
Setup bean validation.org.springframework.validation.beanvalidation.MethodValidationPostProcessor
methodValidationPostProcessor()
Setup method parameter bean validation.
-
-
-
Method Detail
-
localValidatorFactoryBean
@Bean @ConditionalOnMissingBean(javax.validation.Validator.class) public org.springframework.validation.beanvalidation.LocalValidatorFactoryBean localValidatorFactoryBean()
Setup bean validation.- Returns:
- The bean validator
-
methodValidationPostProcessor
@Bean @ConditionalOnMissingBean(org.springframework.validation.beanvalidation.MethodValidationPostProcessor.class) public org.springframework.validation.beanvalidation.MethodValidationPostProcessor methodValidationPostProcessor()
Setup method parameter bean validation.- Returns:
- The method validation processor
-
-