Package org.hibernate.cache.cfg.spi
Interface DomainDataRegionBuildingContext
-
public interface DomainDataRegionBuildingContext
A "parameter object" forRegionFactory.buildDomainDataRegion(org.hibernate.cache.cfg.spi.DomainDataRegionConfig, org.hibernate.cache.cfg.spi.DomainDataRegionBuildingContext)
calls, giving it access to information it needs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CacheKeysFactory
getEnforcedCacheKeysFactory()
The CacheKeyFactory explicitly specified as part of the bootstrap by the user, by some "container", etc.SessionFactoryImplementor
getSessionFactory()
Access to the SessionFactory for which a Region is being built.
-
-
-
Method Detail
-
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.
-
-