Top Fields Constructors Methods
org.hibernate.engine.query.spi

public Class NativeQueryInterpreterInitiator

extends Object
implements SessionFactoryServiceInitiator<NativeQueryInterpreter>
Class Inheritance
All Implemented Interfaces
org.hibernate.service.spi.SessionFactoryServiceInitiator, org.hibernate.service.spi.ServiceInitiator
Imports
org.hibernate.boot.spi.SessionFactoryOptions, org.hibernate.engine.query.internal.NativeQueryInterpreterStandardImpl, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.service.spi.ServiceRegistryImplementor, .SessionFactoryServiceInitiator, .SessionFactoryServiceInitiatorContext

Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final NativeQueryInterpreterInitiator
INSTANCE

Singleton access

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Class<NativeQueryInterpreter>
getServiceInitiated()

Implements org.hibernate.service.spi.ServiceInitiator.getServiceInitiated.

Obtains the service role initiated by this initiator.
public NativeQueryInterpreter
initiateService(SessionFactoryImplementor
The session factory. Note the the session factory is still in flux; care needs to be taken in regards to what you call.
sessionFactory
,
SessionFactoryOptions
Options specified for building the SessionFactory
sessionFactoryOptions
,
ServiceRegistryImplementor
The service registry. Can be used to locate services needed to fulfill initiation.
registry
)

Implements org.hibernate.service.spi.SessionFactoryServiceInitiator.initiateService.

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Initiates the managed service.
public NativeQueryInterpreter
initiateService(SessionFactoryServiceInitiatorContext
Access to initialization contextual info
context
)

Overrides default org.hibernate.service.spi.SessionFactoryServiceInitiator.initiateService.

Initiates the managed service.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

INSTANCEback to summary
public static final NativeQueryInterpreterInitiator INSTANCE

Singleton access

Constructor Detail

NativeQueryInterpreterInitiatorback to summary
public NativeQueryInterpreterInitiator()

Method Detail

getServiceInitiatedback to summary
public Class<NativeQueryInterpreter> getServiceInitiated()

Implements org.hibernate.service.spi.ServiceInitiator.getServiceInitiated.

Doc from org.hibernate.service.spi.ServiceInitiator.getServiceInitiated.

Obtains the service role initiated by this initiator. Should be unique within a registry

Returns:Class<NativeQueryInterpreter>

The service role.

Annotations
@Override
initiateServiceback to summary
public NativeQueryInterpreter initiateService(SessionFactoryImplementor sessionFactory, SessionFactoryOptions sessionFactoryOptions, ServiceRegistryImplementor registry)

Implements org.hibernate.service.spi.SessionFactoryServiceInitiator.initiateService.

Doc from org.hibernate.service.spi.SessionFactoryServiceInitiator.initiateService.

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Initiates the managed service.

Note for implementors: signature is guaranteed to change once redesign of SessionFactory building is complete

Parameters
sessionFactory:SessionFactoryImplementor

The session factory. Note the the session factory is still in flux; care needs to be taken in regards to what you call.

sessionFactoryOptions:SessionFactoryOptions

Options specified for building the SessionFactory

registry:ServiceRegistryImplementor

The service registry. Can be used to locate services needed to fulfill initiation.

Returns:NativeQueryInterpreter

The initiated service.

Annotations
@Override
initiateServiceback to summary
public NativeQueryInterpreter initiateService(SessionFactoryServiceInitiatorContext context)

Overrides default org.hibernate.service.spi.SessionFactoryServiceInitiator.initiateService.

Doc from org.hibernate.service.spi.SessionFactoryServiceInitiator.initiateService.

Initiates the managed service.

Note for implementors: signature is guaranteed to change once redesign of SessionFactory building is complete

Parameters
context:SessionFactoryServiceInitiatorContext

Access to initialization contextual info

Returns:NativeQueryInterpreter

The initiated service.

Annotations
@Override