org.jboss.ejb3.cache
Class CacheFactoryRegistry
java.lang.Object
org.jboss.ejb3.cache.CacheFactoryRegistry
public class CacheFactoryRegistry
- extends Object
Registry for all configured Stateful Cache Factory implementations
- Version:
- $Revision: $
- Author:
- ALR
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheFactoryRegistry
public CacheFactoryRegistry()
getFactories
public Map<String,Class<? extends Ejb3CacheFactory>> getFactories()
setFactories
public void setFactories(Map<String,Class<? extends Ejb3CacheFactory>> factories)
getCacheFactory
public Ejb3CacheFactory getCacheFactory(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
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.