public class SessionFactoryServiceRegistryFactoryImpl extends Object implements SessionFactoryServiceRegistryFactory
Service
in the StandardServiceRegistryImpl
whose function is as a factory for
SessionFactoryServiceRegistryImpl
implementations.Constructor and Description |
---|
SessionFactoryServiceRegistryFactoryImpl(ServiceRegistryImplementor theBasicServiceRegistry) |
Modifier and Type | Method and Description |
---|---|
SessionFactoryServiceRegistryImpl |
buildServiceRegistry(SessionFactoryImplementor sessionFactory,
Configuration configuration)
Create the registry.
|
SessionFactoryServiceRegistryImpl |
buildServiceRegistry(SessionFactoryImplementor sessionFactory,
MetadataImplementor metadata)
Create the registry.
|
public SessionFactoryServiceRegistryFactoryImpl(ServiceRegistryImplementor theBasicServiceRegistry)
public SessionFactoryServiceRegistryImpl buildServiceRegistry(SessionFactoryImplementor sessionFactory, Configuration configuration)
SessionFactoryServiceRegistryFactory
buildServiceRegistry
in interface SessionFactoryServiceRegistryFactory
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.public SessionFactoryServiceRegistryImpl buildServiceRegistry(SessionFactoryImplementor sessionFactory, MetadataImplementor metadata)
SessionFactoryServiceRegistryFactory
buildServiceRegistry
in interface SessionFactoryServiceRegistryFactory
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.