|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ProviderSpecificBootstrap<T extends Configuration<T>>
Defines the state used to bootstrap Bean Validation and creates a provider specific Configuration. The specific Configuration sub interface uniquely identifies a provider.
The requested provider is the first provider suitable for T (as defined inValidationProvider.isSuitable(Class)). The
list of providers evaluated is returned by ValidationProviderResolver.
If no ValidationProviderResolver is defined, the
default ValidationProviderResolver strategy is used.
| Method Summary | |
|---|---|
T |
configure()
Determine the provider implementation suitable for T and delegate the creation of this specific Configuration subclass to the provider. |
ProviderSpecificBootstrap<T> |
providerResolver(ValidationProviderResolver resolver)
Optionally define the provider resolver implementation used. |
| Method Detail |
|---|
ProviderSpecificBootstrap<T> providerResolver(ValidationProviderResolver resolver)
resolver - ValidationProviderResolver implementation used
this following the chaining method patternT configure()
ValidationException - if the Configuration object cannot be built
this is generally due to an issue with the ValidationProviderResolver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||