类的使用
org.springframework.validation.beanvalidation.SpringValidatorAdapter
使用SpringValidatorAdapter的程序包 程序包 说明 org.springframework.validation.beanvalidation Support classes for integrating a JSR-303 Bean Validation provider (such as Hibernate Validator) into a Spring ApplicationContext and in particular with Spring's data binding and validation APIs.org.springframework.validation.beanvalidation中SpringValidatorAdapter的使用
org.springframework.validation.beanvalidation中SpringValidatorAdapter的子类 修饰符和类型 类 说明 class
CustomValidatorBean
Configurable bean class that exposes a specific JSR-303 Validator through its original interface as well as through the SpringValidator
interface.class
LocalValidatorFactoryBean
This is the central class forjavax.validation
(JSR-303) setup in a Spring application context: It bootstraps ajavax.validation.ValidationFactory
and exposes it through the SpringValidator
interface as well as through the JSR-303Validator
interface and theValidatorFactory
interface itself.class
OptionalValidatorFactoryBean
LocalValidatorFactoryBean
subclass that simply turnsValidator
calls into no-ops in case of no Bean Validation provider being available.