Class ValidationAutoConfiguration
java.lang.Object
com.netflix.genie.web.spring.autoconfigure.ValidationAutoConfiguration
Configuration for bean validation within Genie.
- Since:
- 3.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.validation.beanvalidation.LocalValidatorFactoryBean
Setup bean validation.org.springframework.validation.beanvalidation.MethodValidationPostProcessor
Setup method parameter bean validation.
-
Constructor Details
-
ValidationAutoConfiguration
public ValidationAutoConfiguration()
-
-
Method Details
-
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
-