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, QUERY_CACHE_RESOURCE_PROP, TIMESTAMPS_CACHE_RESOURCE_PROP| Constructor and Description |
|---|
JndiInfinispanRegionFactory() |
JndiInfinispanRegionFactory(Properties props) |
| Modifier and Type | Method and Description |
|---|---|
protected EmbeddedCacheManager |
createCacheManager(Properties properties) |
void |
stop()
Lifecycle callback to perform any necessary cleanup of the underlying
cache implementation(s).
|
buildCollectionRegion, buildEntityRegion, buildNaturalIdRegion, buildQueryResultsRegion, buildTimestampsRegion, 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)
protected EmbeddedCacheManager createCacheManager(Properties properties) throws CacheException
createCacheManager in class InfinispanRegionFactoryCacheExceptionpublic void stop()
InfinispanRegionFactorySessionFactory.close().stop in interface RegionFactorystop in class InfinispanRegionFactoryCopyright © 2012 JBoss by Red Hat. All Rights Reserved.