Class BeanValidationIntegrator

  • All Implemented Interfaces:
    Integrator

    public class BeanValidationIntegrator
    extends java.lang.Object
    implements Integrator
    • Constructor Detail

      • BeanValidationIntegrator

        public BeanValidationIntegrator()
    • Method Detail

      • validateFactory

        public static void validateFactory​(java.lang.Object object)
        Used to validate the type of an explicitly passed ValidatorFactory instance
        Parameters:
        object - The supposed ValidatorFactory instance
      • integrate

        public void integrate​(Metadata metadata,
                              SessionFactoryImplementor sessionFactory,
                              SessionFactoryServiceRegistry serviceRegistry)
        Description copied from interface: Integrator
        Perform integration.
        Specified by:
        integrate in interface Integrator
        Parameters:
        metadata - The "compiled" representation of the mapping information
        sessionFactory - The session factory being created
        serviceRegistry - The session factory's service registry