private static class Validation.DefaultValidationProviderResolver extends java.lang.Object implements ValidationProviderResolver
ValidationProvider
according to the default ValidationProviderResolver
defined in the
Bean Validation specification. This implementation first uses thread's context classloader to locate providers.
If no suitable provider is found using the aforementioned class loader, it uses current class loader.
If it still does not find any suitable provider, it tries to locate the built-in provider using the current
class loader.Modifier | Constructor and Description |
---|---|
private |
DefaultValidationProviderResolver() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ValidationProvider<?>> |
getValidationProviders()
Returns a list of
ValidationProvider available in the runtime environment. |
public java.util.List<ValidationProvider<?>> getValidationProviders()
ValidationProviderResolver
ValidationProvider
available in the runtime environment.getValidationProviders
in interface ValidationProviderResolver