Package org.hibernate.service.internal
Class SessionFactoryServiceRegistryFactoryImpl
- java.lang.Object
-
- org.hibernate.service.internal.SessionFactoryServiceRegistryFactoryImpl
-
- All Implemented Interfaces:
Serializable
,Service
,SessionFactoryServiceRegistryFactory
public class SessionFactoryServiceRegistryFactoryImpl extends Object implements SessionFactoryServiceRegistryFactory
Acts as a service in theStandardServiceRegistryImpl
whose function is to act as a factory forSessionFactoryServiceRegistryImpl
implementations.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionFactoryServiceRegistryFactoryImpl(ServiceRegistryImplementor theBasicServiceRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SessionFactoryServiceRegistry
buildServiceRegistry(SessionFactoryImplementor sessionFactory, SessionFactoryOptions options)
Create the registry.
-
-
-
Constructor Detail
-
SessionFactoryServiceRegistryFactoryImpl
public SessionFactoryServiceRegistryFactoryImpl(ServiceRegistryImplementor theBasicServiceRegistry)
-
-
Method Detail
-
buildServiceRegistry
public SessionFactoryServiceRegistry buildServiceRegistry(SessionFactoryImplementor sessionFactory, SessionFactoryOptions options)
Description copied from interface:SessionFactoryServiceRegistryFactory
Create the registry.- Specified by:
buildServiceRegistry
in interfaceSessionFactoryServiceRegistryFactory
- 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.options
- The build options.- Returns:
- The registry
-
-