Class DefaultConstraintValidatorFactory

  • All Implemented Interfaces:
    javax.validation.ConstraintValidatorFactory

    public class DefaultConstraintValidatorFactory
    extends Object
    implements javax.validation.ConstraintValidatorFactory
    Creates validator instances with injections available.
    • Constructor Detail

      • DefaultConstraintValidatorFactory

        @Inject
        public DefaultConstraintValidatorFactory​(Injector injector)
    • Method Detail

      • getInstance

        public <T extends javax.validation.ConstraintValidator<?,​?>> T getInstance​(Class<T> key)
        Specified by:
        getInstance in interface javax.validation.ConstraintValidatorFactory
      • releaseInstance

        public void releaseInstance​(javax.validation.ConstraintValidator<?,​?> instance)
        Specified by:
        releaseInstance in interface javax.validation.ConstraintValidatorFactory