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 theStandardServiceRegistryImplwhose function is to act as a factory forSessionFactoryServiceRegistryImplimplementations.- 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 SessionFactoryServiceRegistrybuildServiceRegistry(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:SessionFactoryServiceRegistryFactoryCreate the registry.- Specified by:
buildServiceRegistryin 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
-
-