io.quarkus.hibernate.validator.ValidatorFactoryCustomizer 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}.
*/
public interface ValidatorFactoryCustomizer {
void customize(BaseHibernateValidatorConfiguration> configuration);
}