Top Description Methods
org.hibernate.boot.registry

public Interface StandardServiceInitiator<R extends org.hibernate.service.Service>

extends ServiceInitiator<R extends Service>
Known Direct Implementers
org.hibernate.bytecode.internal.BytecodeProviderInitiator, org.hibernate.bytecode.internal.ProxyFactoryFactoryInitiator, org.hibernate.cache.internal.RegionFactoryInitiator, org.hibernate.engine.config.internal.ConfigurationServiceInitiator, org.hibernate.engine.jdbc.batch.internal.BatchBuilderInitiator, org.hibernate.engine.jdbc.connections.internal.ConnectionProviderInitiator, org.hibernate.engine.jdbc.connections.internal.MultiTenantConnectionProviderInitiator, org.hibernate.engine.jdbc.cursor.internal.RefCursorSupportInitiator, org.hibernate.engine.jdbc.dialect.internal.DialectFactoryInitiator, org.hibernate.engine.jdbc.dialect.internal.DialectResolverInitiator, org.hibernate.engine.jdbc.env.internal.JdbcEnvironmentInitiator, org.hibernate.engine.jdbc.internal.JdbcServicesInitiator, org.hibernate.engine.jdbc.internal.SqlStatementLoggerInitiator, org.hibernate.engine.jdbc.mutation.internal.MutationExecutorServiceInitiator, org.hibernate.engine.jndi.internal.JndiServiceInitiator, org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator, org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformResolverInitiator, org.hibernate.event.internal.EntityCopyObserverFactoryInitiator, org.hibernate.id.factory.internal.StandardIdentifierGeneratorFactoryInitiator, org.hibernate.loader.ast.internal.BatchLoaderFactoryInitiator, org.hibernate.persister.internal.PersisterClassResolverInitiator, org.hibernate.persister.internal.PersisterFactoryInitiator, org.hibernate.property.access.internal.PropertyAccessStrategyResolverInitiator, org.hibernate.query.sqm.mutation.internal.SqmMultiTableMutationStrategyProviderInitiator, org.hibernate.resource.beans.spi.ManagedBeanRegistryInitiator, org.hibernate.resource.transaction.internal.TransactionCoordinatorBuilderInitiator, org.hibernate.service.internal.SessionFactoryServiceRegistryFactoryInitiator, org.hibernate.sql.ast.internal.ParameterMarkerStrategyInitiator, org.hibernate.sql.results.jdbc.internal.JdbcValuesMappingProducerProviderInitiator, org.hibernate.tool.schema.internal.SchemaManagementToolInitiator, org.hibernate.tool.schema.internal.script.SqlScriptExtractorInitiator, org.hibernate.boot.cfgxml.internal.CfgXmlAccessServiceInitiator, org.hibernate.boot.internal.DefaultSessionFactoryBuilderInitiator
Type Parameters
<R>
The type of the service initiated.
Imports
java.util.Map, org.hibernate.service.Service, org.hibernate.service.spi.ServiceInitiator, .ServiceRegistryImplementor, org.checkerframework.checker.nullness.qual.Nullable

Contract for an initiator of services that target the standard org.hibernate.service.ServiceRegistry.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public @Nullable R

Returns:

The initiated service.
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
)

Initiates the managed service.

Inherited from org.hibernate.service.spi.ServiceInitiator:
getServiceInitiated

Method Detail

initiateServiceback to summary
public @Nullable R initiateService(Map<String, Object> configurationValues, ServiceRegistryImplementor registry)

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:@Nullable R

The initiated service.