Package org.hibernate.engine.query.spi
Class NativeQueryInterpreterInitiator
java.lang.Object
org.hibernate.engine.query.spi.NativeQueryInterpreterInitiator
- All Implemented Interfaces:
ServiceInitiator<NativeQueryInterpreter>
,SessionFactoryServiceInitiator<NativeQueryInterpreter>
public class NativeQueryInterpreterInitiator
extends Object
implements SessionFactoryServiceInitiator<NativeQueryInterpreter>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtains the service role initiated by this initiator.Initiates the managed service.
-
Field Details
-
INSTANCE
Singleton access
-
-
Constructor Details
-
NativeQueryInterpreterInitiator
public NativeQueryInterpreterInitiator()
-
-
Method Details
-
initiateService
Description copied from interface:SessionFactoryServiceInitiator
Initiates the managed service.Note for implementors: signature is guaranteed to change once redesign of SessionFactory building is complete
- Specified by:
initiateService
in interfaceSessionFactoryServiceInitiator<NativeQueryInterpreter>
- Parameters:
context
- Access to initialization contextual info- Returns:
- The initiated service.
-
getServiceInitiated
Description copied from interface:ServiceInitiator
Obtains the service role initiated by this initiator. Should be unique within a registry- Specified by:
getServiceInitiated
in interfaceServiceInitiator<NativeQueryInterpreter>
- Returns:
- The service role.
-