@groovy.transform.CompileStatic class DefaultValidatorRegistry extends java.lang.Object
A ValidatorRegistry that builds validators on demand.
Type | Name and description |
---|---|
ConstraintRegistry |
constraintRegistry |
ConstraintsEvaluator |
constraintsEvaluator |
MappingContext |
mappingContext |
org.springframework.context.MessageSource |
messageSource |
java.util.Map<PersistentEntity, org.springframework.validation.Validator> |
validatorMap |
Constructor and description |
---|
DefaultValidatorRegistry
(MappingContext mappingContext, ConnectionSourceSettings connectionSourceSettings, org.springframework.context.MessageSource messageSource = new StaticMessageSource() |
Type Params | Return Type | Name and description |
---|---|---|
|
org.springframework.validation.Validator |
getValidator(PersistentEntity entity) |
|
protected java.util.Map<java.lang.String, java.lang.Object> |
resolveDefaultConstraints(ConnectionSourceSettings connectionSourceSettings) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |