Top Description Methods
org.hibernate.service.spi

public Interface SessionFactoryServiceRegistryFactory

extends Service
Known Direct Implementers
org.hibernate.service.internal.SessionFactoryServiceRegistryFactoryImpl
Imports
org.hibernate.boot.spi.SessionFactoryOptions, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.service.Service

Contract for builder of SessionFactoryServiceRegistry instances.

Is itself a service within the standard service registry.

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public SessionFactoryServiceRegistry

Returns:

The registry
buildServiceRegistry
(SessionFactoryImplementor
The (still being built) session factory. Generally this is useful for grabbing a reference for later use. However, care should be taken when invoking on the session factory until after it has been fully initialized.
sessionFactory
,
SessionFactoryOptions
The build options.
sessionFactoryOptions
)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Create the registry.

Method Detail

buildServiceRegistryback to summary
public SessionFactoryServiceRegistry buildServiceRegistry(SessionFactoryImplementor sessionFactory, SessionFactoryOptions sessionFactoryOptions)

Deprecated

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

Create the registry.

Parameters
sessionFactory:SessionFactoryImplementor

The (still being built) session factory. Generally this is useful for grabbing a reference for later use. However, care should be taken when invoking on the session factory until after it has been fully initialized.

sessionFactoryOptions:SessionFactoryOptions

The build options.

Returns:SessionFactoryServiceRegistry

The registry