Interface Integrator

    • Method Detail

      • integrate

        @Deprecated(since="6.0")
        default void integrate​(Metadata metadata,
                               SessionFactoryImplementor sessionFactory,
                               SessionFactoryServiceRegistry serviceRegistry)
        Deprecated.
        - use
        Perform integration.
        Parameters:
        metadata - The "compiled" representation of the mapping information
        sessionFactory - The session factory being created
        serviceRegistry - The session factory's service registry
      • integrate

        @Incubating
        default void integrate​(Metadata metadata,
                               BootstrapContext bootstrapContext,
                               SessionFactoryImplementor sessionFactory)
        Perform integration.
        Parameters:
        metadata - The fully initialized boot-time mapping model
        bootstrapContext - The context for bootstrapping of the SessionFactory
        sessionFactory - The SessionFactory being created
      • disintegrate

        void disintegrate​(SessionFactoryImplementor sessionFactory,
                          SessionFactoryServiceRegistry serviceRegistry)
        Tongue-in-cheek name for a shutdown callback.
        Parameters:
        sessionFactory - The session factory being closed.
        serviceRegistry - That session factory's service registry