Interface HibernateBootstrapContribution

All Superinterfaces:
Comparable<HibernateBootstrapContribution>
All Known Implementing Classes:
EncodedPasswordJavaTypeBootstrapContribution, GeolocationTypesContribution, HibernateCoreBootstrapContribution

public interface HibernateBootstrapContribution extends Comparable<HibernateBootstrapContribution>
Extension point which enables other modules to participate in the hibernate bootstrap.
  • Method Details

    • priority

      default int priority()
      Returns:
      priority used to order the contributions. Higher is executed first. The core contribution has priority 100
    • compareTo

      default int compareTo(HibernateBootstrapContribution o)
      Specified by:
      compareTo in interface Comparable<HibernateBootstrapContribution>
    • configureBootstrapServiceRegistryBuilder

      default void configureBootstrapServiceRegistryBuilder(org.hibernate.boot.registry.BootstrapServiceRegistryBuilder builder, ContributionClassLoaderService classLoaderService)
    • configureStandardServiceRegistryBuilder

      default void configureStandardServiceRegistryBuilder(org.hibernate.boot.registry.StandardServiceRegistryBuilder builder)
    • configureSessionFactoryBuilder

      default void configureSessionFactoryBuilder(org.hibernate.boot.SessionFactoryBuilder builder, org.hibernate.type.spi.TypeConfiguration typeConfiguration, org.hibernate.boot.registry.StandardServiceRegistry standardServiceRegistry)
    • configureMetadataBuilder

      default void configureMetadataBuilder(org.hibernate.boot.MetadataBuilder builder)
    • configureMetadataSources

      default void configureMetadataSources(org.hibernate.boot.MetadataSources metadataSources)
    • configureSessionFactory

      default void configureSessionFactory(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory)