Class SpringConstraintValidatorFactory

java.lang.Object
org.springframework.validation.beanvalidation.SpringConstraintValidatorFactory
All Implemented Interfaces:
ConstraintValidatorFactory

public class SpringConstraintValidatorFactory extends Object implements ConstraintValidatorFactory
JSR-303 ConstraintValidatorFactory implementation that delegates to a Spring BeanFactory for creating autowired ConstraintValidator instances.

Note that this class is meant for programmatic use, not for declarative use in a standard validation.xml file. Consider SpringWebConstraintValidatorFactory for declarative use in a web application, e.g. with JAX-RS or JAX-WS.

Since:
3.0
Author:
Juergen Hoeller
See Also: