Interface SessionFactoryServiceRegistryFactory

  • All Superinterfaces:, Service

    public interface SessionFactoryServiceRegistryFactory
    extends Service
    Contract for builder of SessionFactoryServiceRegistry instances.

    Is itself a service within the standard service registry.

    • Method Detail

      • buildServiceRegistry

        SessionFactoryServiceRegistry buildServiceRegistry​(SessionFactoryImplementor sessionFactory,
                                                           BootstrapContext bootstrapContext,
                                                           SessionFactoryOptions sessionFactoryOptions)
        Create the registry.
        sessionFactory - The (still being built) session factory. Generally this is useful for grabbing a reference for later use. However, care should be taken when invoking on the session factory until after it has been fully initialized.
        sessionFactoryOptions - The build options.
        bootstrapContext - The (still active) BootstrapContext.
        sessionFactoryOptions - The build options.
        The registry