public class WildFlyProviderResolver extends Object implements javax.validation.ValidationProviderResolver
ValidationProviderResolver
to be used within WildFly. If several BV providers are available,
HibernateValidator
will be the first element of the returned provider list.
The providers are loaded via the current thread's context class loader; If no providers are found, the loader of this class
will be tried as fallback.Constructor and Description |
---|
WildFlyProviderResolver() |
Modifier and Type | Method and Description |
---|---|
List<javax.validation.spi.ValidationProvider<?>> |
getValidationProviders()
Returns a list with all
ValidationProvider validation providers. |
public List<javax.validation.spi.ValidationProvider<?>> getValidationProviders()
ValidationProvider
validation providers.getValidationProviders
in interface javax.validation.ValidationProviderResolver
ValidationProvider
validation providersCopyright © 2017 JBoss by Red Hat. All rights reserved.