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 Modifier and Type Field Description static NativeQueryInterpreterInitiator
INSTANCE
Singleton access
-
Constructor Summary
Constructors Constructor Description NativeQueryInterpreterInitiator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<NativeQueryInterpreter>
getServiceInitiated()
Obtains the service role initiated by this initiator.NativeQueryInterpreter
initiateService(SessionFactoryServiceInitiatorContext context)
Initiates the managed service.
-
-
-
Field Detail
-
INSTANCE
public static final NativeQueryInterpreterInitiator INSTANCE
Singleton access
-
-
Method Detail
-
initiateService
public NativeQueryInterpreter initiateService(SessionFactoryServiceInitiatorContext context)
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
public Class<NativeQueryInterpreter> 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.
-
-