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 stateValidationException
- if the Configuration
object cannot be built;
this is generally due to an issue with the ValidationProviderResolver
Copyright © 2016 JBoss by Red Hat. All rights reserved.