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

public Class BatchBuilderInitiator

extends Object
implements StandardServiceInitiator<BatchBuilder>
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.registry.StandardServiceInitiator, org.hibernate.service.spi.ServiceInitiator
Imports
java.util.Map, org.hibernate.boot.registry.StandardServiceInitiator, org.hibernate.boot.registry.classloading.spi.ClassLoaderService, org.hibernate.cfg.Environment, org.hibernate.engine.jdbc.batch.spi.BatchBuilder, org.hibernate.internal.util.config.ConfigurationHelper, org.hibernate.service.spi.ServiceException, .ServiceRegistryImplementor

Initiator for the BatchBuilder service
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
public static final String
BUILDER

Names the BatchBuilder implementation to use.

public static final BatchBuilderInitiator
INSTANCE

Singleton access

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

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

Obtains the service role initiated by this initiator.
public BatchBuilder
initiateService(Map<K, V>
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

BUILDERback to summary
public static final String BUILDER

Names the BatchBuilder implementation to use.

INSTANCEback to summary
public static final BatchBuilderInitiator INSTANCE

Singleton access

Constructor Detail

BatchBuilderInitiatorback to summary
public BatchBuilderInitiator()

Method Detail

getServiceInitiatedback to summary
public Class<BatchBuilder> 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<BatchBuilder>

The service role.

Annotations
@Override
initiateServiceback to summary
public BatchBuilder initiateService(Map<K, V> 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<K, V>

The configuration values in effect

registry:ServiceRegistryImplementor

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

Returns:BatchBuilder

The initiated service.

Annotations
@Override