org.springframework.orm.hibernate3
Class LocalCacheProviderProxy

java.lang.Object
  extended by org.springframework.orm.hibernate3.LocalCacheProviderProxy
All Implemented Interfaces:
org.hibernate.cache.CacheProvider

Deprecated. as of Spring 3.1 to reflect the deprecation of the CacheProvider SPI in Hibernate 3.3. Favor the new RegionFactory SPI and Spring's LocalRegionFactoryProxy support.

@Deprecated
public class LocalCacheProviderProxy
extends Object
implements org.hibernate.cache.CacheProvider

Proxy for a Hibernate CacheProvider, delegating to a Spring-managed CacheProvider instance, determined by LocalSessionFactoryBean's "cacheProvider" property.

Since:
2.5.1
Author:
Juergen Hoeller, Chris Beams
See Also:
LocalSessionFactoryBean.setCacheProvider(org.hibernate.cache.CacheProvider), LocalRegionFactoryProxy

Constructor Summary
LocalCacheProviderProxy()
          Deprecated.  
 
Method Summary
 org.hibernate.cache.Cache buildCache(String regionName, Properties properties)
          Deprecated.  
 boolean isMinimalPutsEnabledByDefault()
          Deprecated.  
 long nextTimestamp()
          Deprecated.  
 void start(Properties properties)
          Deprecated.  
 void stop()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalCacheProviderProxy

public LocalCacheProviderProxy()
Deprecated. 
Method Detail

buildCache

public org.hibernate.cache.Cache buildCache(String regionName,
                                            Properties properties)
                                     throws org.hibernate.cache.CacheException
Deprecated. 
Specified by:
buildCache in interface org.hibernate.cache.CacheProvider
Throws:
org.hibernate.cache.CacheException

nextTimestamp

public long nextTimestamp()
Deprecated. 
Specified by:
nextTimestamp in interface org.hibernate.cache.CacheProvider

start

public void start(Properties properties)
           throws org.hibernate.cache.CacheException
Deprecated. 
Specified by:
start in interface org.hibernate.cache.CacheProvider
Throws:
org.hibernate.cache.CacheException

stop

public void stop()
Deprecated. 
Specified by:
stop in interface org.hibernate.cache.CacheProvider

isMinimalPutsEnabledByDefault

public boolean isMinimalPutsEnabledByDefault()
Deprecated. 
Specified by:
isMinimalPutsEnabledByDefault in interface org.hibernate.cache.CacheProvider