public class JndiInfinispanRegionFactory extends InfinispanRegionFactory
RegionFactory for Infinispan-backed cache
 regions that finds its cache manager in JNDI rather than creating one itself.| Modifier and Type | Field and Description | 
|---|---|
static String | 
CACHE_MANAGER_RESOURCE_PROP
Specifies the JNDI name under which the  
EmbeddedCacheManager to use is bound. | 
COLLECTION_CACHE_RESOURCE_PROP, DEF_ENTITY_RESOURCE, DEF_INFINISPAN_CONFIG_RESOURCE, DEF_QUERY_RESOURCE, DEF_TIMESTAMPS_RESOURCE, DEF_USE_SYNCHRONIZATION, ENTITY_CACHE_RESOURCE_PROP, INFINISPAN_CONFIG_RESOURCE_PROP, INFINISPAN_GLOBAL_STATISTICS_PROP, INFINISPAN_USE_SYNCHRONIZATION_PROP, NATURAL_ID_CACHE_RESOURCE_PROP, PENDING_PUTS_CACHE_NAME, QUERY_CACHE_RESOURCE_PROP, TIMESTAMPS_CACHE_RESOURCE_PROP| Constructor and Description | 
|---|
JndiInfinispanRegionFactory()
Constructs a JndiInfinispanRegionFactory 
 | 
JndiInfinispanRegionFactory(Properties props)
Constructs a JndiInfinispanRegionFactory 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected org.infinispan.manager.EmbeddedCacheManager | 
createCacheManager(Properties properties)  | 
void | 
stop()
Lifecycle callback to perform any necessary cleanup of the underlying
 cache implementation(s). 
 | 
buildCollectionRegion, buildEntityRegion, buildNaturalIdRegion, buildQueryResultsRegion, buildTimestampsRegion, createCacheManager, createCacheWrapper, createTimestampsRegion, createTransactionManagerLookup, getCacheManager, getDefaultAccessType, getDefinedConfigurations, getTypeOverrides, isMinimalPutsEnabledByDefault, nextTimestamp, setCacheManager, start, stopCacheManager, stopCacheRegionspublic static final String CACHE_MANAGER_RESOURCE_PROP
EmbeddedCacheManager to use is bound.
 There is no default value -- the user must specify the property.public JndiInfinispanRegionFactory()
public JndiInfinispanRegionFactory(Properties props)
props - Any properties to apply (not used).protected org.infinispan.manager.EmbeddedCacheManager createCacheManager(Properties properties) throws CacheException
createCacheManager in class InfinispanRegionFactoryCacheExceptionpublic void stop()
RegionFactorySessionFactory.close().stop in interface RegionFactorystop in class InfinispanRegionFactoryCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.