接口 DomainDataRegionBuildingContext
-
- 所有已知实现类:
EnabledCaching
public interface DomainDataRegionBuildingContextA "parameter object" forRegionFactory.buildDomainDataRegion(org.hibernate.cache.cfg.spi.DomainDataRegionConfig, org.hibernate.cache.cfg.spi.DomainDataRegionBuildingContext)calls, giving it access to information it needs.- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 CacheKeysFactorygetEnforcedCacheKeysFactory()The CacheKeyFactory explicitly specified as part of the bootstrap by the user, by some "container", etc.SessionFactoryImplementorgetSessionFactory()Access to the SessionFactory for which a Region is being built.
-
-
-
方法详细资料
-
getEnforcedCacheKeysFactory
CacheKeysFactory getEnforcedCacheKeysFactory()
The CacheKeyFactory explicitly specified as part of the bootstrap by the user, by some "container", etc. If this method returns a non-null value, it is expected that RegionFactory implementors will use to be its CacheKeyFactory and return it when asked later.
-
getSessionFactory
SessionFactoryImplementor getSessionFactory()
Access to the SessionFactory for which a Region is being built.
-
-