Class LocalRegionFactoryProxy
- java.lang.Object
- org.springframework.orm.hibernate3.LocalRegionFactoryProxy
- All Implemented Interfaces:
Serializable,RegionFactory,RegionFactory,Service
@Deprecated public class LocalRegionFactoryProxy extends Object implements RegionFactory
Deprecated.as of Spring 4.3, in favor of Hibernate 4.x/5.xProxy for a Hibernate RegionFactory, delegating to a Spring-managed RegionFactory instance, determined by LocalSessionFactoryBean's "cacheRegionFactory" property.- Since:
- 3.0
- Author:
- Juergen Hoeller
- See Also:
LocalSessionFactoryBean.setCacheRegionFactory(org.hibernate.cache.RegionFactory), Serialized Form
Constructor Summary
Constructors Constructor Description LocalRegionFactoryProxy()Deprecated.Standard constructor.LocalRegionFactoryProxy(Properties properties)Deprecated.Properties constructor: not used by this class or formally required, but enforced by Hibernate when reflectively instantiating a RegionFactory.
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CollectionRegionbuildCollectionRegion(String regionName, Properties properties, CacheDataDescription metadata)Deprecated.EntityRegionbuildEntityRegion(String regionName, Properties properties, CacheDataDescription metadata)Deprecated.QueryResultsRegionbuildQueryResultsRegion(String regionName, Properties properties)Deprecated.TimestampsRegionbuildTimestampsRegion(String regionName, Properties properties)Deprecated.org.hibernate.cache.access.AccessTypegetDefaultAccessType()Deprecated.booleanisMinimalPutsEnabledByDefault()Deprecated.longnextTimestamp()Deprecated.voidstart(Settings settings, Properties properties)Deprecated.voidstop()Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.cache.spi.RegionFactory
buildCollectionRegion, buildEntityRegion, buildNaturalIdRegion
Constructor Detail
LocalRegionFactoryProxy
public LocalRegionFactoryProxy()
Deprecated.Standard constructor.
LocalRegionFactoryProxy
public LocalRegionFactoryProxy(Properties properties)
Deprecated.Properties constructor: not used by this class or formally required, but enforced by Hibernate when reflectively instantiating a RegionFactory.
Method Detail
start
public void start(Settings settings, Properties properties) throws CacheException
Deprecated.- Specified by:
startin interfaceRegionFactory- Throws:
CacheException
stop
public void stop()
Deprecated.- Specified by:
stopin interfaceRegionFactory
isMinimalPutsEnabledByDefault
public boolean isMinimalPutsEnabledByDefault()
Deprecated.- Specified by:
isMinimalPutsEnabledByDefaultin interfaceRegionFactory
getDefaultAccessType
public org.hibernate.cache.access.AccessType getDefaultAccessType()
Deprecated.- Specified by:
getDefaultAccessTypein interfaceRegionFactory
nextTimestamp
public long nextTimestamp()
Deprecated.- Specified by:
nextTimestampin interfaceRegionFactory
buildEntityRegion
public EntityRegion buildEntityRegion(String regionName, Properties properties, CacheDataDescription metadata) throws CacheException
Deprecated.- Throws:
CacheException
buildCollectionRegion
public CollectionRegion buildCollectionRegion(String regionName, Properties properties, CacheDataDescription metadata) throws CacheException
Deprecated.- Throws:
CacheException
buildQueryResultsRegion
public QueryResultsRegion buildQueryResultsRegion(String regionName, Properties properties) throws RegionFactory
- Throws:
CacheException
buildTimestampsRegion
public TimestampsRegion buildTimestampsRegion(String regionName, Properties properties) throws CacheException
Deprecated.- Specified by:
buildTimestampsRegionin interfaceRegionFactory- Throws:
CacheException