org.hibernate.cache.jbc
Class SharedJBossCacheRegionFactory
java.lang.Object
org.hibernate.cache.jbc.JBossCacheRegionFactory
org.hibernate.cache.jbc.SharedJBossCacheRegionFactory
- All Implemented Interfaces:
- RegionFactory
- Direct Known Subclasses:
- SharedJBossCacheRegionFactory
public class SharedJBossCacheRegionFactory
- extends JBossCacheRegionFactory
JBossCacheRegionFactory
that uses
SharedCacheInstanceManager
as its
CacheInstanceManager
.
Basically, uses a single shared JBoss Cache for entities, collections,
queries and timestamps. The JBoss Cache instance created by the
JBC DefaultCacheFactory
using the resource identified by the
JndiSharedCacheInstanceManager.CACHE_RESOURCE_PROP
configuration property.
- 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 |
SharedJBossCacheRegionFactory
public SharedJBossCacheRegionFactory(Properties props)
- FIXME Per the RegionFactory class Javadoc, this constructor version
should not be necessary.
- Parameters:
props
- The configuration properties
SharedJBossCacheRegionFactory
public SharedJBossCacheRegionFactory()
- Create a new MultiplexedJBossCacheRegionFactory.
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.