public class CustomValidatorBean extends SpringValidatorAdapter implements Validator, org.springframework.beans.factory.InitializingBean
Validator interface.| Constructor and Description | 
|---|
| CustomValidatorBean() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | afterPropertiesSet() | 
| void | setMessageInterpolator(MessageInterpolator messageInterpolator)Specify a custom MessageInterpolator to use for this Validator. | 
| void | setTraversableResolver(TraversableResolver traversableResolver)Specify a custom TraversableResolver to use for this Validator. | 
| void | setValidatorFactory(ValidatorFactory validatorFactory)Set the ValidatorFactory to obtain the target Validator from. | 
determineErrorCode, determineField, forExecutables, getArgumentsForConstraint, getConstraintsForClass, getRejectedValue, getResolvableField, processConstraintViolations, requiresMessageFormat, supports, unwrap, validate, validate, validate, validateProperty, validateValue, validateValueclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforExecutables, getConstraintsForClass, unwrap, validate, validateProperty, validateValuepublic void setValidatorFactory(ValidatorFactory validatorFactory)
Default is Validation.buildDefaultValidatorFactory().
public void setMessageInterpolator(MessageInterpolator messageInterpolator)
public void setTraversableResolver(TraversableResolver traversableResolver)
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean