Package org.hibernate.boot.spi
Interface SessionFactoryBuilderFactory
-
@JavaServiceLoadable public interface SessionFactoryBuilderFactory
An extension point for integrators that wish to hook into the process of how a SessionFactory is built. Intended as a "discoverable service" (ServiceLoader). There can be at most one implementation discovered that returns a non-nullSessionFactoryBuilder.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SessionFactoryBuildergetSessionFactoryBuilder(MetadataImplementor metadata, SessionFactoryBuilderImplementor defaultBuilder)The contract method.
-
-
-
Method Detail
-
getSessionFactoryBuilder
SessionFactoryBuilder getSessionFactoryBuilder(MetadataImplementor metadata, SessionFactoryBuilderImplementor defaultBuilder)
The contract method. Return theSessionFactoryBuilder. May returnnull- Parameters:
metadata- The metadata from which we will be building aSessionFactory.defaultBuilder- The defaultSessionFactoryBuilderinstance. If theSessionFactoryBuilderbeing built here needs to use this passedSessionFactoryBuilderinstance, it is the responsibility of the builtSessionFactoryBuilderimpl to delegate configuration calls to the passed default impl.- Returns:
- The
SessionFactoryBuilder, ornull
-
-