public interface GenericBootstrap
Configuration.| Modifier and Type | Method and Description |
|---|---|
Configuration<?> |
configure()
Returns a generic
Configuration implementation. |
GenericBootstrap |
providerResolver(ValidationProviderResolver resolver)
Defines the provider resolution strategy.
|
GenericBootstrap providerResolver(ValidationProviderResolver resolver)
Configuration.
If no resolver is defined, the default ValidationProviderResolver
implementation is used.
resolver - the ValidationProviderResolver to use for bootstrappingthis following the chaining method patternConfiguration<?> configure()
Configuration implementation.
At this stage the provider used to build the ValidatorFactory
is not defined.
The Configuration implementation is provided by the first provider
returned by the ValidationProviderResolver strategy.
Configuration implementation compliant with the bootstrap stateNoProviderFoundException - if no Bean Validation provider was foundValidationException - if a Bean Validation provider was found but the
Configuration object cannot be built; this is generally due to an
issue with the ValidationProviderResolverCopyright © 2007-2017 Red Hat Inc. All Rights Reserved. Released under the Apache Software License 2.0.