org.springframework.orm.hibernate3
Class LocalCacheProviderProxy
java.lang.Object
org.springframework.orm.hibernate3.LocalCacheProviderProxy
- All Implemented Interfaces:
- CacheProvider
public class LocalCacheProviderProxy
- extends Object
- implements 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
- See Also:
LocalSessionFactoryBean.setCacheProvider(org.hibernate.cache.CacheProvider)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalCacheProviderProxy
public LocalCacheProviderProxy()
buildCache
public Cache buildCache(String regionName,
Properties properties)
throws CacheException
- Specified by:
buildCache
in interface CacheProvider
- Throws:
CacheException
nextTimestamp
public long nextTimestamp()
- Specified by:
nextTimestamp
in interface CacheProvider
start
public void start(Properties properties)
throws CacheException
- Specified by:
start
in interface CacheProvider
- Throws:
CacheException
stop
public void stop()
- Specified by:
stop
in interface CacheProvider
isMinimalPutsEnabledByDefault
public boolean isMinimalPutsEnabledByDefault()
- Specified by:
isMinimalPutsEnabledByDefault
in interface CacheProvider
Copyright © 2002-2008 The Spring Framework.