org.jboss.resource.connectionmanager
Class JBossManagedConnectionPool.PoolByCri
java.lang.Object
org.jboss.resource.connectionmanager.JBossManagedConnectionPool.BasePool
org.jboss.resource.connectionmanager.JBossManagedConnectionPool.PoolByCri
- All Implemented Interfaces:
- ManagedConnectionPool, PreFillPoolSupport
- Enclosing class:
- JBossManagedConnectionPool
public static class JBossManagedConnectionPool.PoolByCri
- extends JBossManagedConnectionPool.BasePool
Pool by connection request information
Method Summary |
protected Object |
getKey(Subject subject,
javax.resource.spi.ConnectionRequestInfo cri,
boolean separateNoTx)
Retrieve the key for this request |
void |
prefill()
Prefill the connection pool |
void |
prefill(boolean noTxSeperatePool)
Prefill the connection pool |
void |
prefill(Subject subject,
javax.resource.spi.ConnectionRequestInfo cri)
|
void |
prefill(Subject subject,
javax.resource.spi.ConnectionRequestInfo cri,
boolean noTxSeperatePool)
Prefill the connection pool |
Methods inherited from class org.jboss.resource.connectionmanager.JBossManagedConnectionPool.BasePool |
flush, getAvailableConnectionCount, getConnection, getConnectionCount, getConnectionCreatedCount, getConnectionDestroyedCount, getInUseConnectionCount, getManagedConnectionFactory, getMaxConnectionsInUseCount, getPoolName, getPreFill, getSubPool, getSubPool, getTransactionManager, returnConnection, setConnectionListenerFactory, shouldPreFill, shutdown, shutdownWithoutClear |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBossManagedConnectionPool.PoolByCri
public JBossManagedConnectionPool.PoolByCri(javax.resource.spi.ManagedConnectionFactory mcf,
InternalManagedConnectionPool.PoolParams poolParams,
boolean noTxSeparatePools,
org.jboss.logging.Logger log)
JBossManagedConnectionPool.PoolByCri
public JBossManagedConnectionPool.PoolByCri(javax.resource.spi.ManagedConnectionFactory mcf,
String poolJndiName,
InternalManagedConnectionPool.PoolParams poolParams,
boolean noTxSeparatePools,
org.jboss.logging.Logger log)
getKey
protected Object getKey(Subject subject,
javax.resource.spi.ConnectionRequestInfo cri,
boolean separateNoTx)
- 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
prefill
public void prefill()
- Description copied from interface:
PreFillPoolSupport
- Prefill the connection pool
- Specified by:
prefill
in interface PreFillPoolSupport
- Overrides:
prefill
in class JBossManagedConnectionPool.BasePool
prefill
public void prefill(boolean noTxSeperatePool)
- Description copied from interface:
PreFillPoolSupport
- Prefill the connection pool
- Specified by:
prefill
in interface PreFillPoolSupport
- Overrides:
prefill
in class JBossManagedConnectionPool.BasePool
- Parameters:
noTxSeperatePool
- whether or not we are seperating non transaction and transaction pools
prefill
public void prefill(Subject subject,
javax.resource.spi.ConnectionRequestInfo cri)
prefill
public void prefill(Subject subject,
javax.resource.spi.ConnectionRequestInfo cri,
boolean noTxSeperatePool)
- Description copied from interface:
PreFillPoolSupport
- Prefill the connection pool
- Specified by:
prefill
in interface PreFillPoolSupport
- Overrides:
prefill
in class JBossManagedConnectionPool.BasePool
- Parameters:
subject
- the subject the subjectcri
- the connection request infonoTxSeperatePool
- whether or not we are seperating non transaction and transaction pools
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.