io.quarkus.hibernate.validator.HibernateValidatorFactoryCustomizer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-hibernate-validator Show documentation
Show all versions of quarkus-hibernate-validator Show documentation
Validate object properties (field, getter) and method parameters for your beans (REST, CDI, Jakarta Persistence)
package io.quarkus.hibernate.validator;
import org.hibernate.validator.BaseHibernateValidatorConfiguration;
/**
* Meant to be implemented by a CDI bean that provides arbitrary customization for the default
* {@link jakarta.validation.ValidatorFactory}.
*
* All implementations that are registered as CDI beans are taken into account when producing the default
* {@link jakarta.validation.ValidatorFactory}.
*
* Customizers are applied in the order of {@link jakarta.annotation.Priority}.
*
* @deprecated Implement {@link ValidatorFactoryCustomizer} instead.
*/
@Deprecated(forRemoval = true)
public interface HibernateValidatorFactoryCustomizer extends ValidatorFactoryCustomizer {
void customize(BaseHibernateValidatorConfiguration> configuration);
}