public interface SessionFactoryServiceInitiator<R extends Service> extends ServiceInitiator<R>
SessionFactoryServiceRegistry
Modifier and Type | Method and Description |
---|---|
R |
initiateService(SessionFactoryImplementor sessionFactory,
Configuration configuration,
ServiceRegistryImplementor registry)
Initiates the managed service.
|
R |
initiateService(SessionFactoryImplementor sessionFactory,
MetadataImplementor metadata,
ServiceRegistryImplementor registry)
Initiates the managed service.
|
getServiceInitiated
R initiateService(SessionFactoryImplementor sessionFactory, Configuration configuration, ServiceRegistryImplementor registry)
sessionFactory
- The session factory. Note the the session factory is still in flux; care needs to be taken
in regards to what you call.configuration
- The configuration.registry
- The service registry. Can be used to locate services needed to fulfill initiation.R initiateService(SessionFactoryImplementor sessionFactory, MetadataImplementor metadata, ServiceRegistryImplementor registry)
sessionFactory
- The session factory. Note the the session factory is still in flux; care needs to be taken
in regards to what you call.metadata
- The configuration.registry
- The service registry. Can be used to locate services needed to fulfill initiation.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.