Class ConstraintValidatorFactoryImpl

    • Constructor Detail

      • ConstraintValidatorFactoryImpl

        public ConstraintValidatorFactoryImpl()
    • Method Detail

      • getInstance

        public final <T extends ConstraintValidator<?,​?>> T getInstance​(Class<T> key)
        Specified by:
        getInstance in interface ConstraintValidatorFactory
        Type Parameters:
        T - The type of the constraint validator to instantiate
        Parameters:
        key - The class of the constraint validator to instantiate
        Returns:
        A new constraint validator instance of the specified class