Package jakarta.validation
Interface ValidationProviderResolver
-
public interface ValidationProviderResolver
Determines the list of Jakarta Validation providers available in the runtime environmentJakarta Validation providers are identified by the presence of
META-INF/services/jakarta.validation.spi.ValidationProvider
files following the Service Provider pattern described here.Each
META-INF/services/jakarta.validation.spi.ValidationProvider
file contains the list ofValidationProvider
implementations each of them representing a provider.Implementations must be thread-safe.
- Author:
- Emmanuel Bernard
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<ValidationProvider<?>>
getValidationProviders()
Returns a list ofValidationProvider
available in the runtime environment.
-
-
-
Method Detail
-
getValidationProviders
java.util.List<ValidationProvider<?>> getValidationProviders()
Returns a list ofValidationProvider
available in the runtime environment.- Returns:
- list of validation providers
-
-