@groovy.transform.CompileStatic class DefaultValidatorRegistry extends java.lang.Object implements ConstraintRegistry, ConstraintsEvaluator, ValidatorRegistry
A ValidatorRegistry that builds validators on demand.
Modifiers | Name | Description |
---|---|---|
private ConstraintRegistry |
constraintRegistry |
|
private ConstraintsEvaluator |
constraintsEvaluator |
|
private MappingContext |
mappingContext |
|
private org.springframework.context.MessageSource |
messageSource |
|
private java.util.Map<PersistentEntity, org.springframework.validation.Validator> |
validatorMap |
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) |
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), java.lang.Object#wait(long, int), 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() |
Groovy Documentation