Package org.hibernate.cache.cfg.spi
Interface DomainDataRegionBuildingContext
-
- All Known Implementing Classes:
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CacheKeysFactorygetEnforcedCacheKeysFactory()TheCacheKeysFactoryexplicitly 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.
-
-
-
Method Detail
-
getEnforcedCacheKeysFactory
CacheKeysFactory getEnforcedCacheKeysFactory()
TheCacheKeysFactoryexplicitly specified as part of the bootstrap by the user, by some "container", etc. If this method returns a non-null value, it is expected thatRegionFactoryimplementors will use to be itsCacheKeysFactoryand return it when asked later.
-
getSessionFactory
SessionFactoryImplementor getSessionFactory()
Access to the SessionFactory for which a Region is being built.
-
-