public interface ProviderSpecificBootstrap<T extends Configuration<T>>
T. The specific
Configurationis linked to the provider via the generic parameter of the
ValidationProviderimplementation. The requested provider is the first provider instance assignable to the requested provider type (known when
ProviderSpecificBootstrapis built). The list of providers evaluated is returned by
ValidationProviderResolver. If no
ValidationProviderResolveris defined, the default
ValidationProviderResolverstrategy is used.
|Modifier and Type||Method and Description|
Determines the provider implementation suitable for
Optionally defines the provider resolver implementation used.
ProviderSpecificBootstrap<T> providerResolver(ValidationProviderResolver resolver)
thisfollowing the chaining method pattern
Tand delegates the creation of this specific
Configurationsubclass to the provider.
Configurationsub interface implementation
ValidationException- if the
Configurationobject cannot be built; this is generally due to an issue with the
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.