
public static class Configuration extends Object
ValidatorFactory.
Usage:
Configuration<?> configuration = //provided by one of the Validation bootstrap methods
ValidatorFactory = configuration
.messageInterpolator( new CustomMessageInterpolator() )
.buildValidatorFactory();
By default, the configuration information is retrieved from
META-INF/validation.xml.
It is possible to override the configuration retrieved from the XML file
by using one or more of the Configuration methods.
The ValidationProviderResolver is specified at configuration time
(see ValidationProvider).
If none is explicitly requested, the default ValidationProviderResolver is used.
The provider is selected in the following way:
Validation.byProvider(Class), find the first provider implementing
the provider class requested and use itValidationProviderResolverCopyright © 2018. All rights reserved.