public class DefaultConstraintValidatorFactory
extends java.lang.Object
implements javax.validation.ConstraintValidatorFactory
Constructor and Description |
---|
DefaultConstraintValidatorFactory(Injector injector) |
Modifier and Type | Method and Description |
---|---|
<T extends javax.validation.ConstraintValidator<?,?>> |
getInstance(java.lang.Class<T> key) |
void |
releaseInstance(javax.validation.ConstraintValidator<?,?> instance) |
@Inject public DefaultConstraintValidatorFactory(Injector injector)
public <T extends javax.validation.ConstraintValidator<?,?>> T getInstance(java.lang.Class<T> key)
getInstance
in interface javax.validation.ConstraintValidatorFactory
public void releaseInstance(javax.validation.ConstraintValidator<?,?> instance)
releaseInstance
in interface javax.validation.ConstraintValidatorFactory