org.hibernate.cache.jbc
Class JndiMultiplexedJBossCacheRegionFactory

java.lang.Object
  extended by org.hibernate.cache.jbc.JBossCacheRegionFactory
      extended by org.hibernate.cache.jbc.JndiMultiplexedJBossCacheRegionFactory
All Implemented Interfaces:
RegionFactory
Direct Known Subclasses:
JndiMultiplexedJBossCacheRegionFactory

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.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
 

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 © 2001-2010 Red Hat, Inc. All Rights Reserved.