Class BeanValidationIntegrator

    • Constructor Detail

      • BeanValidationIntegrator

        public BeanValidationIntegrator()
    • Method Detail

      • validateFactory

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

        public void integrate​(Metadata metadata,
                              BootstrapContext bootstrapContext,
                              SessionFactoryImplementor sessionFactory)
        Description copied from interface: Integrator
        Perform integration.
        Specified by:
        integrate in interface Integrator
        metadata - The fully initialized boot-time mapping model
        bootstrapContext - The context for bootstrapping of the SessionFactory
        sessionFactory - The SessionFactory being created