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 CollectionRegion
buildCollectionRegion(String regionName, Properties properties, CacheDataDescription metadata)
Deprecated.EntityRegion
buildEntityRegion(String regionName, Properties properties, CacheDataDescription metadata)
Deprecated.QueryResultsRegion
buildQueryResultsRegion(String regionName, Properties properties)
Deprecated.TimestampsRegion
buildTimestampsRegion(String regionName, Properties properties)
Deprecated.org.hibernate.cache.access.AccessType
getDefaultAccessType()
Deprecated.boolean
isMinimalPutsEnabledByDefault()
Deprecated.long
nextTimestamp()
Deprecated.void
start(Settings settings, Properties properties)
Deprecated.void
stop()
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:
start
in interfaceRegionFactory
- Throws:
CacheException
stop
public void stop()
Deprecated.- Specified by:
stop
in interfaceRegionFactory
isMinimalPutsEnabledByDefault
public boolean isMinimalPutsEnabledByDefault()
Deprecated.- Specified by:
isMinimalPutsEnabledByDefault
in interfaceRegionFactory
getDefaultAccessType
public org.hibernate.cache.access.AccessType getDefaultAccessType()
Deprecated.- Specified by:
getDefaultAccessType
in interfaceRegionFactory
nextTimestamp
public long nextTimestamp()
Deprecated.- Specified by:
nextTimestamp
in 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:
buildTimestampsRegion
in interfaceRegionFactory
- Throws:
CacheException