public interface ConstraintValidatorFactory
ConstraintValidatorinstance based off its class. The
ConstraintValidatorFactoryis not responsible for calling
|Modifier and Type||Method and Description|
<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 © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.