public interface SessionFactoryServiceInitiator<R extends Service> extends ServiceInitiator<R>
SessionFactoryServiceRegistry
Modifier and Type | Method and Description |
---|---|
R |
initiateService(SessionFactoryImplementor sessionFactory,
SessionFactoryOptions sessionFactoryOptions,
ServiceRegistryImplementor registry)
Deprecated.
|
default R |
initiateService(SessionFactoryServiceInitiatorContext context)
Initiates the managed service.
|
getServiceInitiated
default R initiateService(SessionFactoryServiceInitiatorContext context)
context
- Access to initialization contextual info@Deprecated R initiateService(SessionFactoryImplementor sessionFactory, SessionFactoryOptions sessionFactoryOptions, ServiceRegistryImplementor registry)
initiateService(SessionFactoryServiceInitiatorContext)
instead.sessionFactory
- The session factory. Note the the session factory is still in flux; care needs to be taken
in regards to what you call.sessionFactoryOptions
- Options specified for building the SessionFactoryregistry
- The service registry. Can be used to locate services needed to fulfill initiation.Copyright © 2021 JBoss by Red Hat. All rights reserved.