org.hibernate.cache.jbc2
Class SharedJBossCacheRegionFactory

java.lang.Object
  extended by org.hibernate.cache.jbc2.JBossCacheRegionFactory
      extended by org.hibernate.cache.jbc2.SharedJBossCacheRegionFactory
All Implemented Interfaces:
RegionFactory

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

Constructor Summary
SharedJBossCacheRegionFactory()
          Create a new MultiplexedJBossCacheRegionFactory.
SharedJBossCacheRegionFactory(Properties props)
          FIXME Per the RegionFactory class Javadoc, this constructor version should not be necessary.
 
Method Summary
 
Methods inherited from class org.hibernate.cache.jbc2.JBossCacheRegionFactory
buildCollectionRegion, buildEntityRegion, buildQueryResultsRegion, buildTimestampsRegion, getCacheInstanceManager, getRegionPrefix, isMinimalPutsEnabledByDefault, nextTimestamp, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 © 2009 Hibernate.org. All Rights Reserved.