public class ValidatorRegistries extends java.lang.Object
Utility methods for creating Validator registries
Constructor and description |
---|
private ValidatorRegistries
() |
Type Params | Return Type | Name and description |
---|---|---|
|
public static ValidatorRegistry |
createValidatorRegistry(MappingContext mappingContext, ConnectionSourceSettings settings) Creates a validator registry with a static message source |
|
public static ValidatorRegistry |
createValidatorRegistry(MappingContext mappingContext, ConnectionSourceSettings settings, org.springframework.context.MessageSource messageSource) Creates the most appropriate validator registry |
|
static boolean |
isJavaxValidationAvailable()
|
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() |
Creates a validator registry with a static message source
mappingContext
- The mapping contextsettings
- The settingsCreates the most appropriate validator registry
mappingContext
- The mapping contextsettings
- the settingsmessageSource
- the message source