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 specificConfiguration
subclass to the provider.providerResolver
(ValidationProviderResolver resolver) Optionally defines the provider resolver implementation used.private <P> P
run
(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:
providerResolver
in interfaceProviderSpecificBootstrap<T extends Configuration<T>>
- Parameters:
resolver
-ValidationProviderResolver
implementation used- Returns:
- self
-
configure
Determines the provider implementation suitable forValidation.byProvider(Class)
and delegates the creation of this specificConfiguration
subclass to the provider.- Specified by:
configure
in interfaceProviderSpecificBootstrap<T extends Configuration<T>>
- Returns:
- a
Configuration
sub interface implementation
-
run
-