org.hibernate.cache.jbc2
Class JndiMultiplexedJBossCacheRegionFactory

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

public class JndiMultiplexedJBossCacheRegionFactory
extends JBossCacheRegionFactory

JBossCacheRegionFactory that uses JndiMultiplexingCacheInstanceManager as its CacheInstanceManager.

Supports separate JBoss Cache instances for entity, collection, query and timestamp caching, with the expectation that a single multiplexed 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 finds the factory in JNDI. See JndiMultiplexingCacheInstanceManager for configuration details.

Version:
$Revision$
Author:
Brian Stansberry

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

JndiMultiplexedJBossCacheRegionFactory

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

Parameters:
props - The configuration properties

JndiMultiplexedJBossCacheRegionFactory

public JndiMultiplexedJBossCacheRegionFactory()
Create a new MultiplexedJBossCacheRegionFactory.



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