Class ValidationAutoConfiguration

java.lang.Object
com.netflix.genie.web.spring.autoconfigure.ValidationAutoConfiguration

@Configuration public class ValidationAutoConfiguration extends Object
Configuration for bean validation within Genie.
Since:
3.0.0
  • 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