Class ValidatorFactoryProvider

java.lang.Object
io.micronaut.configuration.hibernate.validator.ValidatorFactoryProvider

@Factory @Requires(classes=org.hibernate.validator.HibernateValidator.class) public class ValidatorFactoryProvider extends Object
Provides a ValidatorFactory instance.
Since:
1.0
Author:
Graeme Rocher
  • Field Details

    • messageInterpolator

      @Inject protected Optional<jakarta.validation.MessageInterpolator> messageInterpolator
    • traversableResolver

      @Inject protected Optional<jakarta.validation.TraversableResolver> traversableResolver
    • constraintValidatorFactory

      @Inject protected Optional<jakarta.validation.ConstraintValidatorFactory> constraintValidatorFactory
    • parameterNameProvider

      @Inject protected Optional<jakarta.validation.ParameterNameProvider> parameterNameProvider
    • ignoreXmlConfiguration

      @Value("${hibernate.validator.ignore-xml-configuration:true}") protected boolean ignoreXmlConfiguration
  • Constructor Details

    • ValidatorFactoryProvider

      public ValidatorFactoryProvider()