@ConditionalOnClass(value=javax.validation.executable.ExecutableValidator.class) @ConditionalOnResource(resources="classpath:META-INF/services/javax.validation.spi.ValidationProvider") public class ValidationAutoConfiguration extends Object
Auto-configuration
to configure the validation
infrastructure.Constructor and Description |
---|
ValidationAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
MethodValidationPostProcessor |
methodValidationPostProcessor(Validator validator) |
Validator |
validator() |
@Bean @ConditionalOnMissingBean public Validator validator()
@Bean @ConditionalOnMissingBean public MethodValidationPostProcessor methodValidationPostProcessor(Validator validator)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.