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 the
StandardServiceRegistryImpl
whose
function is to act as a factory for SessionFactoryServiceRegistryImpl
implementations.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSessionFactoryServiceRegistryFactoryImpl
(ServiceRegistryImplementor theBasicServiceRegistry) -
Method Summary
Modifier and TypeMethodDescriptionbuildServiceRegistry
(SessionFactoryImplementor sessionFactory, SessionFactoryOptions options) Create the registry.
-
Constructor Details
-
SessionFactoryServiceRegistryFactoryImpl
-
-
Method Details
-
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
-