org.jasig.portal.spring.orm.jpa
Class LocalCacheProviderProxy
java.lang.Object
org.jasig.portal.spring.orm.jpa.LocalCacheProviderProxy
- All Implemented Interfaces:
- org.hibernate.cache.CacheProvider
public class LocalCacheProviderProxy
- extends Object
- implements org.hibernate.cache.CacheProvider
Copy of the Spring LocalCacheProviderProxy that works with JPA when the HibernateJpaVendorAdapter is used
and the HibernateJpaVendorAdapter.setCacheProvider(CacheProvider) property is set.
- Version:
- $Revision: 20993 $
- Author:
- Eric Dalquist
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalCacheProviderProxy
public LocalCacheProviderProxy()
buildCache
public org.hibernate.cache.Cache buildCache(String regionName,
Properties properties)
throws org.hibernate.cache.CacheException
- Specified by:
buildCache in interface org.hibernate.cache.CacheProvider
- Throws:
org.hibernate.cache.CacheException
nextTimestamp
public long nextTimestamp()
- Specified by:
nextTimestamp in interface org.hibernate.cache.CacheProvider
start
public void start(Properties properties)
throws org.hibernate.cache.CacheException
- Specified by:
start in interface org.hibernate.cache.CacheProvider
- Throws:
org.hibernate.cache.CacheException
stop
public void stop()
- Specified by:
stop in interface org.hibernate.cache.CacheProvider
isMinimalPutsEnabledByDefault
public boolean isMinimalPutsEnabledByDefault()
- Specified by:
isMinimalPutsEnabledByDefault in interface org.hibernate.cache.CacheProvider
Copyright © 2010 Jasig. All Rights Reserved.