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,
Configuration configuration)
Create the registry.
|
SessionFactoryServiceRegistryImpl |
buildServiceRegistry(SessionFactoryImplementor sessionFactory,
MetadataImplementor metadata)
Create the registry.
|
SessionFactoryServiceRegistryImpl buildServiceRegistry(SessionFactoryImplementor sessionFactory, Configuration configuration)
sessionFactory
- The (in flux) 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.configuration
- The configuration object.SessionFactoryServiceRegistryImpl buildServiceRegistry(SessionFactoryImplementor sessionFactory, MetadataImplementor metadata)
sessionFactory
- The (in flux) 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.metadata
- The configuration object.Copyright © 2012 JBoss by Red Hat. All Rights Reserved.