public interface ConstraintValidatorFactory
ConstraintValidatorinstance based off its class. The
ConstraintValidatorFactoryis not responsible for calling
<T extends ConstraintValidator<?,?>> T getInstance(Class<T> key)
key- The class of the constraint validator to instantiate
void releaseInstance(ConstraintValidator<?,?> instance)
ConstraintValidatorFactorythat the instance is no longer being used by the Bean Validation provider.
instance- validator being released
Copyright © 2007-2013. All Rights Reserved.