Package org.hibernate.service.spi
Interface SessionFactoryServiceRegistryFactory
-
- All Superinterfaces:
Serializable
,Service
- All Known Implementing Classes:
SessionFactoryServiceRegistryFactoryImpl
public interface SessionFactoryServiceRegistryFactory extends Service
Contract for builder ofSessionFactoryServiceRegistry
instances.Is itself a service within the standard service registry.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SessionFactoryServiceRegistry
buildServiceRegistry(SessionFactoryImplementor sessionFactory, SessionFactoryOptions sessionFactoryOptions)
Create the registry.
-
-
-
Method Detail
-
buildServiceRegistry
SessionFactoryServiceRegistry buildServiceRegistry(SessionFactoryImplementor sessionFactory, SessionFactoryOptions sessionFactoryOptions)
Create the registry.- Parameters:
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.- Returns:
- The registry
-
-