org.jboss.ejb3.pool
Class PoolFactoryRegistry
java.lang.Object
org.jboss.ejb3.pool.PoolFactoryRegistry
public class PoolFactoryRegistry
- extends Object
Registry for all configured Pool Factory implementations
- Version:
- $Revision: $
- Author:
- ALR
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PoolFactoryRegistry
public PoolFactoryRegistry()
getFactories
public Map<String,Class<? extends PoolFactory>> getFactories()
setFactories
public void setFactories(Map<String,Class<? extends PoolFactory>> factories)
getPoolFactory
public PoolFactory getPoolFactory(String name)
throws PoolFactoryNotRegisteredException
- Obtains the Pool Factory with the specified registered name
- Parameters:
name
- The registered name of the pool factory to retrieve
- Returns:
- The Pool Factory
- Throws:
PoolFactoryNotRegisteredException
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.