public interface SessionFactoryServiceRegistryFactory extends Service
SessionFactoryServiceRegistry
instances.
Is itself a service within the standard service registry.Modifier and Type | Method and Description |
---|---|
SessionFactoryServiceRegistryImpl |
buildServiceRegistry(SessionFactoryImplementor sessionFactory,
SessionFactoryOptions sessionFactoryOptions)
Create the registry.
|
SessionFactoryServiceRegistryImpl buildServiceRegistry(SessionFactoryImplementor sessionFactory, SessionFactoryOptions sessionFactoryOptions)
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.Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.