Top Description Methods
org.hibernate.cache.cfg.spi

public Interface DomainDataRegionBuildingContext

Known Direct Implementers
org.hibernate.cache.internal.EnabledCaching
Imports
org.hibernate.cache.spi.CacheKeysFactory, .RegionFactory, org.hibernate.engine.spi.SessionFactoryImplementor

A "parameter object" for RegionFactory#buildDomainDataRegion calls, giving it access to information it needs.
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public CacheKeysFactory
getEnforcedCacheKeysFactory()

The CacheKeysFactory 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 CacheKeysFactory and return it when asked later.

public SessionFactoryImplementor
getSessionFactory()

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Access to the SessionFactory for which a Region is being built.

Method Detail

getEnforcedCacheKeysFactoryback to summary
public CacheKeysFactory getEnforcedCacheKeysFactory()

The CacheKeysFactory 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 CacheKeysFactory and return it when asked later.

getSessionFactoryback to summary
public SessionFactoryImplementor getSessionFactory()

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Access to the SessionFactory for which a Region is being built.