org.springframework.orm.hibernate3
Class LocalCacheProviderProxy
java.lang.Object
org.springframework.orm.hibernate3.LocalCacheProviderProxy
public class LocalCacheProviderProxy
- extends java.lang.Object
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(CacheProvider)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cacheProvider
private final CacheProvider cacheProvider
LocalCacheProviderProxy
public LocalCacheProviderProxy()
buildCache
public Cache buildCache(java.lang.String regionName,
java.util.Properties properties)
throws CacheException
- Throws:
CacheException
nextTimestamp
public long nextTimestamp()
start
public void start(java.util.Properties properties)
throws CacheException
- Throws:
CacheException
stop
public void stop()
isMinimalPutsEnabledByDefault
public boolean isMinimalPutsEnabledByDefault()