org.jboss.ejb3.cache
Class CacheFactoryRegistry
java.lang.Object
org.jboss.ejb3.cache.CacheFactoryRegistry
public class CacheFactoryRegistry
- extends java.lang.Object
Registry for all configured Stateful Cache Factory implementations
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheFactoryRegistry
public CacheFactoryRegistry()
getFactories
public java.util.Map<java.lang.String,java.lang.Class<? extends Ejb3CacheFactory>> getFactories()
setFactories
public void setFactories(java.util.Map<java.lang.String,java.lang.Class<? extends Ejb3CacheFactory>> factories)
getCacheFactory
public Ejb3CacheFactory getCacheFactory(java.lang.String name)
throws CacheFactoryNotRegisteredException
- Obtains the Cache Factory with the specified registered name
- Parameters:
name - The registered name of the cache factory to retrieve
- Returns:
- The Cache Factory
- Throws:
CacheFactoryNotRegisteredException