接口 SessionFactoryBuilderFactory
-
public interface SessionFactoryBuilderFactoryAn 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-null SessionFactoryBuilder.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 SessionFactoryBuildergetSessionFactoryBuilder(MetadataImplementor metadata, SessionFactoryBuilderImplementor defaultBuilder)The contract method.
-
-
-
方法详细资料
-
getSessionFactoryBuilder
SessionFactoryBuilder getSessionFactoryBuilder(MetadataImplementor metadata, SessionFactoryBuilderImplementor defaultBuilder)
The contract method. Return the SessionFactoryBuilder. May returnnull- 参数:
metadata- The metadata from which we will be building a SessionFactory.defaultBuilder- 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.- 返回:
- The SessionFactoryBuilder, or
null
-
-