类的使用
cn.taketoday.validation.beanvalidation.InfraValidatorAdapter
使用InfraValidatorAdapter的程序包
程序包
说明
Support classes for integrating a JSR-303 Bean Validation provider
(such as Hibernate Validator) into a Framework ApplicationContext
and in particular with Framework's data binding and validation APIs.
-
cn.taketoday.validation.beanvalidation中InfraValidatorAdapter的使用
修饰符和类型类说明classConfigurable bean class that exposes a specific JSR-303 Validator through its original interface as well as through the FrameworkValidatorinterface.classThis is the central class forjakarta.validation(JSR-303) setup in a Framework application context: It bootstraps ajakarta.validation.ValidationFactoryand exposes it through the FrameworkValidatorinterface as well as through the JSR-303Validatorinterface and theValidatorFactoryinterface itself.classLocalValidatorFactoryBeansubclass that simply turnsValidatorcalls into no-ops in case of no Bean Validation provider being available.