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