当前页面:
在线文档首页 >
JBoss 3.2.7 connector API Documentation 英文版文档
JBossManagedConnectionPool.PoolBySubjectAndCri (JBoss Connector API) - JBoss 3.2.7 connector API Documentation 英文版文档
org.jboss.resource.connectionmanager
Class JBossManagedConnectionPool.PoolBySubjectAndCri
java.lang.Object
org.jboss.resource.connectionmanager.JBossManagedConnectionPool.BasePool
org.jboss.resource.connectionmanager.JBossManagedConnectionPool.PoolBySubjectAndCri
- All Implemented Interfaces:
- ManagedConnectionPool
- Enclosing class:
- JBossManagedConnectionPool
- public static class JBossManagedConnectionPool.PoolBySubjectAndCri
- extends JBossManagedConnectionPool.BasePool
Pooling by subject and connection request information
Method Summary |
protected Object |
getKey(Subject subject,
javax.resource.spi.ConnectionRequestInfo cri,
boolean separateNoTx)
Retrieve the key for this request |
Methods inherited from class org.jboss.resource.connectionmanager.JBossManagedConnectionPool.BasePool |
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 |
JBossManagedConnectionPool.PoolBySubjectAndCri
public JBossManagedConnectionPool.PoolBySubjectAndCri(javax.resource.spi.ManagedConnectionFactory mcf,
InternalManagedConnectionPool.PoolParams poolParams,
boolean noTxSeparatePools,
org.jboss.logging.Logger log)
getKey
protected Object getKey(Subject subject,
javax.resource.spi.ConnectionRequestInfo cri,
boolean separateNoTx)
throws javax.resource.ResourceException
- Description copied from class:
JBossManagedConnectionPool.BasePool
- Retrieve the key for this request
- Specified by:
getKey
in class JBossManagedConnectionPool.BasePool
- Parameters:
subject
- the subjectcri
- the connection request information
- Returns:
- the key
- Throws:
javax.resource.ResourceException
- for any error
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.