org.jboss.resource.connectionmanager
Class JBossManagedConnectionPool.OnePool

java.lang.Object
  extended byorg.jboss.resource.connectionmanager.JBossManagedConnectionPool.BasePool (src) 
      extended byorg.jboss.resource.connectionmanager.JBossManagedConnectionPool.OnePool
All Implemented Interfaces:
ManagedConnectionPool (src)
Enclosing class:
JBossManagedConnectionPool (src)

public static class JBossManagedConnectionPool.OnePool
extends JBossManagedConnectionPool.BasePool (src)

One pool


Constructor Summary
JBossManagedConnectionPool.OnePool(ManagedConnectionFactory (src)  mcf, InternalManagedConnectionPool.PoolParams (src)  poolParams, boolean noTxSeparatePools, Logger (src)  log)
           
 
Method Summary
protected  java.lang.Object getKey(javax.security.auth.Subject subject, ConnectionRequestInfo (src)  cri, boolean separateNoTx)
          Retrieve the key for this request
 
Methods inherited from class org.jboss.resource.connectionmanager.JBossManagedConnectionPool.BasePool (src)
flush, getAvailableConnectionCount, getConnection, getConnectionCount, getConnectionCreatedCount, getConnectionDestroyedCount, getInUseConnectionCount, getManagedConnectionFactory, getMaxConnectionsInUseCount, getTransactionManager, returnConnection, setConnectionListenerFactory, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossManagedConnectionPool.OnePool

public JBossManagedConnectionPool.OnePool(ManagedConnectionFactory (src)  mcf,
                                          InternalManagedConnectionPool.PoolParams (src)  poolParams,
                                          boolean noTxSeparatePools,
                                          Logger (src)  log)
Method Detail

getKey

protected java.lang.Object getKey(javax.security.auth.Subject subject,
                                  ConnectionRequestInfo (src)  cri,
                                  boolean separateNoTx)
Description copied from class: JBossManagedConnectionPool.BasePool (src)
Retrieve the key for this request

Specified by:
getKey in class JBossManagedConnectionPool.BasePool (src)
Parameters:
subject - the subject
cri - the connection request information
Returns:
the key