Interface ConstraintValidatorManager

    • Method Detail

      • getInitializedValidator

        <A extends AnnotationConstraintValidator<A,​?> getInitializedValidator​(Type validatedValueType,
                                                                                      ConstraintDescriptorImpl<A> descriptor,
                                                                                      ConstraintValidatorFactory constraintValidatorFactory,
                                                                                      HibernateConstraintValidatorInitializationContext initializationContext)
        Type Parameters:
        A - the annotation type
        Parameters:
        validatedValueType - the type of the value to be validated. Cannot be null.
        descriptor - the constraint descriptor for which to get an initialized constraint validator. Cannot be null
        constraintValidatorFactory - constraint factory used to instantiate the constraint validator. Cannot be null.
        initializationContext - context used on constraint validator initialization
        Returns:
        an initialized constraint validator for the given type and annotation of the value to be validated. null is returned if no matching constraint validator could be found.
      • clear

        void clear()
      • isPredefinedScope

        boolean isPredefinedScope()