org.jboss.ejb3.cache
Class CacheFactoryRegistry

java.lang.Object
  extended by org.jboss.ejb3.cache.CacheFactoryRegistry

public class CacheFactoryRegistry
extends Object

Registry for all configured Stateful Cache Factory implementations

Version:
$Revision: $
Author:
ALR

Constructor Summary
CacheFactoryRegistry()
           
 
Method Summary
 Ejb3CacheFactory getCacheFactory(String name)
          Obtains the Cache Factory with the specified registered name
 Map<String,Class<? extends Ejb3CacheFactory>> getFactories()
           
 void setFactories(Map<String,Class<? extends Ejb3CacheFactory>> factories)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheFactoryRegistry

public CacheFactoryRegistry()
Method Detail

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 © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.