org.hibernate.cache.infinispan
Class JndiInfinispanRegionFactory
java.lang.Object
org.hibernate.cache.infinispan.InfinispanRegionFactory
org.hibernate.cache.infinispan.JndiInfinispanRegionFactory
- All Implemented Interfaces:
- RegionFactory
public class JndiInfinispanRegionFactory
- extends InfinispanRegionFactory
A RegionFactory
for Infinispan-backed cache
regions that finds its cache manager in JNDI rather than creating one itself.
- Since:
- 3.5
- Author:
- Galder ZamarreƱo
Methods inherited from class org.hibernate.cache.infinispan.InfinispanRegionFactory |
buildCollectionRegion, buildEntityRegion, buildQueryResultsRegion, buildTimestampsRegion, getCacheManager, getDefaultAccessType, getDefinedConfigurations, getTypeOverrides, isMinimalPutsEnabledByDefault, nextTimestamp, setCacheManager, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CACHE_MANAGER_RESOURCE_PROP
public static final String CACHE_MANAGER_RESOURCE_PROP
- Specifies the JNDI name under which the
CacheManager
to use is bound.
There is no default value -- the user must specify the property.
- See Also:
- Constant Field Values
JndiInfinispanRegionFactory
public JndiInfinispanRegionFactory()
createCacheManager
protected org.infinispan.manager.CacheManager createCacheManager(Properties properties)
throws CacheException
- Overrides:
createCacheManager
in class InfinispanRegionFactory
- Throws:
CacheException
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.