All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jakarta.validation.ValidationProviderResolver Maven / Gradle / Ivy

There is a newer version: 4.0.1
Show newest version
/*
 * Jakarta Bean Validation API
 *
 * License: Apache License, Version 2.0
 * See the license.txt file in the root directory or .
 */
package jakarta.validation;

import java.util.List;

import jakarta.validation.spi.ValidationProvider;

/**
 * Determines the list of Jakarta Bean Validation providers available in the runtime environment
 * 

* Jakarta Bean Validation providers are identified by the presence of * {@code META-INF/services/jakarta.validation.spi.ValidationProvider} * files following the Service Provider pattern described * here. *

* Each {@code META-INF/services/jakarta.validation.spi.ValidationProvider} file contains the * list of {@link ValidationProvider} implementations each of them representing a provider. *

* Implementations must be thread-safe. * * @author Emmanuel Bernard */ public interface ValidationProviderResolver { /** * Returns a list of {@link ValidationProvider} available in the runtime environment. * * @return list of validation providers */ List> getValidationProviders(); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy