org.jboss.resource.connectionmanager
Class JBossManagedConnectionPool.PoolBySubject

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

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

Pool by subject


Constructor Summary
JBossManagedConnectionPool.PoolBySubject(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.PoolBySubject

public JBossManagedConnectionPool.PoolBySubject(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