Top Description Methods
org.hibernate.boot.spi

public Interface SessionFactoryBuilderFactory

Annotations
@JavaServiceLoadable
Imports
org.hibernate.boot.SessionFactoryBuilder, org.hibernate.service.JavaServiceLoadable

An extension point for integrators that wish to hook into the process of how a SessionFactory is built. Intended as a "discoverable service" (java.util.ServiceLoader). There can be at most one implementation discovered that returns a non-null SessionFactoryBuilder.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public SessionFactoryBuilder

Returns:

The SessionFactoryBuilder, or null
getSessionFactoryBuilder
(MetadataImplementor
The metadata from which we will be building a SessionFactory.
metadata
,
SessionFactoryBuilderImplementor
The default SessionFactoryBuilder instance. If the SessionFactoryBuilder being built here needs to use this passed SessionFactoryBuilder instance, it is the responsibility of the built SessionFactoryBuilder impl to delegate configuration calls to the passed default impl.
defaultBuilder
)

Deprecated as a consequence of MetadataImplementor being deprecated.
The contract method.

Method Detail

getSessionFactoryBuilderback to summary
public SessionFactoryBuilder getSessionFactoryBuilder(MetadataImplementor metadata, SessionFactoryBuilderImplementor defaultBuilder)

Deprecated

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

The contract method. Return the SessionFactoryBuilder. May return null

Parameters
metadata:MetadataImplementor

The metadata from which we will be building a SessionFactory.

defaultBuilder:SessionFactoryBuilderImplementor

The default SessionFactoryBuilder instance. If the SessionFactoryBuilder being built here needs to use this passed SessionFactoryBuilder instance, it is the responsibility of the built SessionFactoryBuilder impl to delegate configuration calls to the passed default impl.

Returns:SessionFactoryBuilder

The SessionFactoryBuilder, or null