Package org.hibernate.cache.cfg.spi
Interface DomainDataRegionBuildingContext
-
- All Known Implementing Classes:
EnabledCaching
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()
TheCacheKeysFactory
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()
TheCacheKeysFactory
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 thatRegionFactory
implementors will use to be itsCacheKeysFactory
and return it when asked later.
-
getSessionFactory
SessionFactoryImplementor getSessionFactory()
Access to the SessionFactory for which a Region is being built.
-
-