org.openspaces.hibernate.cache
Class TransactionalMapCacheProvider
java.lang.Object
org.openspaces.hibernate.cache.AbstractMapCacheProvider
org.openspaces.hibernate.cache.TransactionalMapCacheProvider
- All Implemented Interfaces:
- org.hibernate.cache.CacheProvider
public class TransactionalMapCacheProvider
- extends AbstractMapCacheProvider
Transactional Map cache provider allowing to use GigaSpaces as a second level
cache within a JTA environment. Uses GigaSpaces XA support to register with the
JTA transaction manager. Uses TransactionalMapCache
as the cache implementation.
- Author:
- kimchy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionalMapCacheProvider
public TransactionalMapCacheProvider()
doStart
protected void doStart(Properties properties)
throws org.hibernate.cache.CacheException
- Finds JTA transaction manager.
- Overrides:
doStart
in class AbstractMapCacheProvider
- Throws:
org.hibernate.cache.CacheException
buildCache
public org.hibernate.cache.Cache buildCache(String regionName,
Properties properties)
throws org.hibernate.cache.CacheException
- Returns
TransactionalMapCache
.
- Throws:
org.hibernate.cache.CacheException
Copyright © GigaSpaces.