org.hibernate.cache.jbc2
Class JndiSharedJBossCacheRegionFactory

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

public class JndiSharedJBossCacheRegionFactory
extends JBossCacheRegionFactory

JBossCacheRegionFactory that uses JndiSharedCacheInstanceManager as its CacheInstanceManager.

Basically, uses a single shared JBoss Cache for entities, collections, queries and timestamps. The JBoss Cache instance is found in JNDI using the value of the JndiSharedCacheInstanceManager.CACHE_RESOURCE_PROP configuration property as the name to look up.

Version:
$Revision$
Author:
Brian Stansberry

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

JndiSharedJBossCacheRegionFactory

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

Parameters:
props - The configuration properties

JndiSharedJBossCacheRegionFactory

public JndiSharedJBossCacheRegionFactory()
Create a new MultiplexedJBossCacheRegionFactory.



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