org.jboss.ejb3.pool
Class PoolFactoryRegistry

java.lang.Object
  extended by org.jboss.ejb3.pool.PoolFactoryRegistry

public class PoolFactoryRegistry
extends Object

Registry for all configured Pool Factory implementations

Version:
$Revision: $
Author:
ALR

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

Constructor Detail

PoolFactoryRegistry

public PoolFactoryRegistry()
Method Detail

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.