All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.service.spi.SessionFactoryServiceRegistryFactory Maven / Gradle / Ivy

There is a newer version: 5.6.15.Final
Show newest version
/*
 * Hibernate, Relational Persistence for Idiomatic Java
 *
 * License: GNU Lesser General Public License (LGPL), version 2.1 or later.
 * See the lgpl.txt file in the root directory or .
 */
package org.hibernate.service.spi;

import org.hibernate.boot.spi.SessionFactoryOptions;
import org.hibernate.engine.spi.SessionFactoryImplementor;
import org.hibernate.service.Service;

/**
 * Contract for builder of {@link SessionFactoryServiceRegistry} instances.
 * 

* Is itself a service within the standard service registry. * * @author Steve Ebersole */ public interface SessionFactoryServiceRegistryFactory extends Service { /** * Create the registry. * * @param 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. * @param sessionFactoryOptions The build options. * * @return The registry */ SessionFactoryServiceRegistry buildServiceRegistry( SessionFactoryImplementor sessionFactory, SessionFactoryOptions sessionFactoryOptions); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy