org.hibernate.cache.jbc
Class JndiSharedJBossCacheRegionFactory
java.lang.Object
org.hibernate.cache.jbc.JBossCacheRegionFactory
org.hibernate.cache.jbc.JndiSharedJBossCacheRegionFactory
- All Implemented Interfaces:
- RegionFactory
- Direct Known Subclasses:
- JndiSharedJBossCacheRegionFactory
public class JndiSharedJBossCacheRegionFactory
- extends JBossCacheRegionFactory
JBossCacheRegionFactory
that uses
JndiSharedCacheInstanceManager
as its
CacheInstanceManager
.
Basically, uses a single shared JBoss Cache for entities, collections,
queries and timestamps. The JBoss Cache instance is found in JNDI
using the value of the JndiSharedCacheInstanceManager.CACHE_RESOURCE_PROP
configuration property as the name to look up.
- Version:
- $Revision$
- Author:
- Brian Stansberry
Methods inherited from class org.hibernate.cache.jbc.JBossCacheRegionFactory |
buildCollectionRegion, buildEntityRegion, buildQueryResultsRegion, buildTimestampsRegion, getCacheInstanceManager, getDefaultAccessType, getRegionPrefix, isMinimalPutsEnabledByDefault, nextTimestamp, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JndiSharedJBossCacheRegionFactory
public JndiSharedJBossCacheRegionFactory(Properties props)
- FIXME Per the RegionFactory class Javadoc, this constructor version
should not be necessary.
- Parameters:
props
- The configuration properties
JndiSharedJBossCacheRegionFactory
public JndiSharedJBossCacheRegionFactory()
- Create a new MultiplexedJBossCacheRegionFactory.
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.