Top Description Fields Constructors Methods
org.hibernate.engine.jdbc.mutation.internal

public Class MutationExecutorServiceInitiator

extends Object
implements StandardServiceInitiator<MutationExecutorService>
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.registry.StandardServiceInitiator, org.hibernate.service.spi.ServiceInitiator
Imports
java.util.Map, org.hibernate.HibernateException, org.hibernate.boot.registry.StandardServiceInitiator, org.hibernate.boot.registry.classloading.spi.ClassLoaderService, org.hibernate.engine.jdbc.mutation.spi.MutationExecutorService, org.hibernate.service.spi.ServiceRegistryImplementor

Initiator for the MutationExecutorService service
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final String
EXECUTOR_KEY

Names the BatchBuilder implementation to use.

public static final MutationExecutorServiceInitiator
INSTANCE

Singleton access

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private MutationExecutorService
public Class<MutationExecutorService>
getServiceInitiated()

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

Obtains the service role initiated by this initiator.
public MutationExecutorService
initiateService(Map<String, Object>
The configuration values in effect
configurationValues
,
ServiceRegistryImplementor
The service registry. Can be used to locate services needed to fulfill initiation.
registry
)

Implements org.hibernate.boot.registry.StandardServiceInitiator.initiateService.

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

Field Detail

EXECUTOR_KEYback to summary
public static final String EXECUTOR_KEY

Names the BatchBuilder implementation to use.

INSTANCEback to summary
public static final MutationExecutorServiceInitiator INSTANCE

Singleton access

Constructor Detail

MutationExecutorServiceInitiatorback to summary
public MutationExecutorServiceInitiator()

Method Detail

createStandardServiceback to summary
private MutationExecutorService createStandardService(Map<String, Object> configurationValues, ServiceRegistryImplementor registry)
getServiceInitiatedback to summary
public Class<MutationExecutorService> 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<MutationExecutorService>

The service role.

Annotations
@Override
initiateServiceback to summary
public MutationExecutorService initiateService(Map<String, Object> configurationValues, ServiceRegistryImplementor registry)

Implements org.hibernate.boot.registry.StandardServiceInitiator.initiateService.

Doc from org.hibernate.boot.registry.StandardServiceInitiator.initiateService.

Initiates the managed service.

Parameters
configurationValues:Map<String, Object>

The configuration values in effect

registry:ServiceRegistryImplementor

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

Returns:MutationExecutorService

The initiated service.

Annotations
@Override