Class Validation.DefaultValidationProviderResolver

  • All Implemented Interfaces:
    ValidationProviderResolver
    Enclosing class:
    Validation

    private static class Validation.DefaultValidationProviderResolver
    extends java.lang.Object
    implements ValidationProviderResolver
    Finds 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.