javax.validation
Interface ValidationProviderResolver


public interface ValidationProviderResolver

Determines the list of Bean Validation providers available in the runtime environment

Bean Validation providers are identified by the presence of META-INF/services/javax.validation.spi.ValidationProvider files following the Service Provider pattern described here

Each META-INF/services/javax.validation.spi.ValidationProvider file contains the list of ValidationProvider implementations each of them representing a provider.

Implementations must be thread-safe.

Author:
Emmanuel Bernard

Method Summary
 java.util.List<ValidationProvider<?>> getValidationProviders()
          Returns a list of ValidationProviders available in the runtime environment.
 

Method Detail

getValidationProviders

java.util.List<ValidationProvider<?>> getValidationProviders()
Returns a list of ValidationProviders available in the runtime environment.

Returns:
list of validation providers.


Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41