public class NativeQueryInterpreterInitiator extends Object implements SessionFactoryServiceInitiator<NativeQueryInterpreter>
Modifier and Type | Field and Description |
---|---|
static NativeQueryInterpreterInitiator |
INSTANCE
Singleton access
|
Constructor and Description |
---|
NativeQueryInterpreterInitiator() |
Modifier and Type | Method and Description |
---|---|
Class<NativeQueryInterpreter> |
getServiceInitiated()
Obtains the service role initiated by this initiator.
|
NativeQueryInterpreter |
initiateService(SessionFactoryImplementor sessionFactory,
SessionFactoryOptions sessionFactoryOptions,
ServiceRegistryImplementor registry)
Initiates the managed service.
|
NativeQueryInterpreter |
initiateService(SessionFactoryServiceInitiatorContext context)
Initiates the managed service.
|
public static final NativeQueryInterpreterInitiator INSTANCE
public NativeQueryInterpreter initiateService(SessionFactoryImplementor sessionFactory, SessionFactoryOptions sessionFactoryOptions, ServiceRegistryImplementor registry)
SessionFactoryServiceInitiator
initiateService
in interface SessionFactoryServiceInitiator<NativeQueryInterpreter>
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.public NativeQueryInterpreter initiateService(SessionFactoryServiceInitiatorContext context)
SessionFactoryServiceInitiator
initiateService
in interface SessionFactoryServiceInitiator<NativeQueryInterpreter>
context
- Access to initialization contextual infopublic Class<NativeQueryInterpreter> getServiceInitiated()
ServiceInitiator
getServiceInitiated
in interface ServiceInitiator<NativeQueryInterpreter>
Copyright © 2021 JBoss by Red Hat. All rights reserved.