org.hibernate.cache.jbc2
Class MultiplexedJBossCacheRegionFactory

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

public class MultiplexedJBossCacheRegionFactory
extends JBossCacheRegionFactory

JBossCacheRegionFactory that uses MultiplexingCacheInstanceManager as its CacheInstanceManager.

Supports separate JBoss Cache instances for entity, collection, query and timestamp caching, with the expectation that a single JGroups resource (i.e. a multiplexed channel or a shared transport channel) will be shared between the caches. JBoss Cache instances are created from a factory.

This version instantiates the factory itself. See MultiplexingCacheInstanceManager for configuration details.

Version:
$Revision$
Author:
Brian Stansberry

Constructor Summary
MultiplexedJBossCacheRegionFactory()
          Create a new MultiplexedJBossCacheRegionFactory.
MultiplexedJBossCacheRegionFactory(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

MultiplexedJBossCacheRegionFactory

public MultiplexedJBossCacheRegionFactory(Properties props)
FIXME Per the RegionFactory class Javadoc, this constructor version should not be necessary.

Parameters:
props - The configuration properties

MultiplexedJBossCacheRegionFactory

public MultiplexedJBossCacheRegionFactory()
Create a new MultiplexedJBossCacheRegionFactory.



Copyright © null-null Red Hat Middleware, LLC. All Rights Reserved