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)
SessionFactoryServiceInitiatorinitiateService 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)
SessionFactoryServiceInitiatorinitiateService in interface SessionFactoryServiceInitiator<NativeQueryInterpreter>context - Access to initialization contextual infopublic Class<NativeQueryInterpreter> getServiceInitiated()
ServiceInitiatorgetServiceInitiated in interface ServiceInitiator<NativeQueryInterpreter>Copyright © 2001-2022 Red Hat, Inc. All Rights Reserved.