类 NativeQueryInterpreterInitiator
- java.lang.Object
-
- org.hibernate.engine.query.spi.NativeQueryInterpreterInitiator
-
- 所有已实现的接口:
ServiceInitiator<NativeQueryInterpreter>,SessionFactoryServiceInitiator<NativeQueryInterpreter>
public class NativeQueryInterpreterInitiator extends Object implements SessionFactoryServiceInitiator<NativeQueryInterpreter>
- 作者:
- Steve Ebersole
-
-
字段概要
字段 修饰符和类型 字段 说明 static NativeQueryInterpreterInitiatorINSTANCESingleton access
-
构造器概要
构造器 构造器 说明 NativeQueryInterpreterInitiator()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Class<NativeQueryInterpreter>getServiceInitiated()Obtains the service role initiated by this initiator.NativeQueryInterpreterinitiateService(SessionFactoryImplementor sessionFactory, SessionFactoryOptions sessionFactoryOptions, ServiceRegistryImplementor registry)Initiates the managed service.NativeQueryInterpreterinitiateService(SessionFactoryServiceInitiatorContext context)Initiates the managed service.
-
-
-
字段详细资料
-
INSTANCE
public static final NativeQueryInterpreterInitiator INSTANCE
Singleton access
-
-
方法详细资料
-
initiateService
public NativeQueryInterpreter initiateService(SessionFactoryImplementor sessionFactory, SessionFactoryOptions sessionFactoryOptions, ServiceRegistryImplementor registry)
从接口复制的说明:SessionFactoryServiceInitiatorInitiates the managed service. Note for implementors: signature is guaranteed to change once redesign of SessionFactory building is complete- 指定者:
initiateService在接口中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.- 返回:
- The initiated service.
-
initiateService
public NativeQueryInterpreter initiateService(SessionFactoryServiceInitiatorContext context)
从接口复制的说明:SessionFactoryServiceInitiatorInitiates the managed service. Note for implementors: signature is guaranteed to change once redesign of SessionFactory building is complete- 指定者:
initiateService在接口中SessionFactoryServiceInitiator<NativeQueryInterpreter>- 参数:
context- Access to initialization contextual info- 返回:
- The initiated service.
-
getServiceInitiated
public Class<NativeQueryInterpreter> getServiceInitiated()
从接口复制的说明:ServiceInitiatorObtains the service role initiated by this initiator. Should be unique within a registry- 指定者:
getServiceInitiated在接口中ServiceInitiator<NativeQueryInterpreter>- 返回:
- The service role.
-
-