Package javax.validation
Class Validation.ProviderSpecificBootstrapImpl<T extends Configuration<T>,U extends ValidationProvider<T>>
java.lang.Object
javax.validation.Validation.ProviderSpecificBootstrapImpl<T,U>
- All Implemented Interfaces:
ProviderSpecificBootstrap<T>
- Enclosing class:
Validation
private static class Validation.ProviderSpecificBootstrapImpl<T extends Configuration<T>,U extends ValidationProvider<T>>
extends Object
implements ProviderSpecificBootstrap<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDetermines the provider implementation suitable forValidation.byProvider(Class)and delegates the creation of this specificConfigurationsubclass to the provider.providerResolver(ValidationProviderResolver resolver) Optionally defines the provider resolver implementation used.private <P> Prun(PrivilegedAction<P> action)
-
Field Details
-
validationProviderClass
-
resolver
-
-
Constructor Details
-
ProviderSpecificBootstrapImpl
-
-
Method Details
-
providerResolver
Optionally defines the provider resolver implementation used. If not defined, use the default ValidationProviderResolver.- Specified by:
providerResolverin interfaceProviderSpecificBootstrap<T extends Configuration<T>>- Parameters:
resolver-ValidationProviderResolverimplementation used- Returns:
- self
-
configure
Determines the provider implementation suitable forValidation.byProvider(Class)and delegates the creation of this specificConfigurationsubclass to the provider.- Specified by:
configurein interfaceProviderSpecificBootstrap<T extends Configuration<T>>- Returns:
- a
Configurationsub interface implementation
-
run
-