org.jboss.resource.connectionmanager
Class JBossManagedConnectionPool.PoolBySubjectAndCri

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

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

Pooling by subject and connection request information


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

public JBossManagedConnectionPool.PoolBySubjectAndCri(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)
                           throws ResourceException (src) 
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
Throws:
ResourceException (src) - for any error