类的使用
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的子类 修饰符和类型 类 说明 classCustomValidatorBeanConfigurable bean class that exposes a specific JSR-303 Validator through its original interface as well as through the SpringValidatorinterface.classLocalValidatorFactoryBeanThis is the central class forjavax.validation(JSR-303) setup in a Spring application context: It bootstraps ajavax.validation.ValidationFactoryand exposes it through the SpringValidatorinterface as well as through the JSR-303Validatorinterface and theValidatorFactoryinterface itself.classOptionalValidatorFactoryBeanLocalValidatorFactoryBeansubclass that simply turnsValidatorcalls into no-ops in case of no Bean Validation provider being available.