Interface HibernateBootstrapContribution
- All Superinterfaces:
Comparable<HibernateBootstrapContribution>
- All Known Implementing Classes:
EncodedPasswordJavaTypeBootstrapContribution
,GeolocationTypesContribution
,HibernateCoreBootstrapContribution
Extension point which enables other modules to participate in the hibernate bootstrap.
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
default void
configureBootstrapServiceRegistryBuilder
(org.hibernate.boot.registry.BootstrapServiceRegistryBuilder builder, ContributionClassLoaderService classLoaderService) default void
configureMetadataBuilder
(org.hibernate.boot.MetadataBuilder builder) default void
configureMetadataSources
(org.hibernate.boot.MetadataSources metadataSources) default void
configureSessionFactory
(org.hibernate.engine.spi.SessionFactoryImplementor sessionFactory) default void
configureSessionFactoryBuilder
(org.hibernate.boot.SessionFactoryBuilder builder, org.hibernate.type.spi.TypeConfiguration typeConfiguration, org.hibernate.boot.registry.StandardServiceRegistry standardServiceRegistry) default void
configureStandardServiceRegistryBuilder
(org.hibernate.boot.registry.StandardServiceRegistryBuilder builder) default int
priority()
-
Method Details
-
priority
default int priority()- Returns:
- priority used to order the contributions. Higher is executed first. The core contribution has priority 100
-
compareTo
- Specified by:
compareTo
in interfaceComparable<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)
-