
public class OnePool extends AbstractPrefillPool
| Constructor and Description |
|---|
OnePool(javax.resource.spi.ManagedConnectionFactory mcf,
org.jboss.jca.core.api.connectionmanager.pool.PoolConfiguration pc,
boolean noTxSeparatePools,
boolean sharable)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
emptyManagedConnectionPool(ManagedConnectionPool pool)
Remove the matching managed connection pool if the pool is empty
|
protected Object |
getKey(Subject subject,
javax.resource.spi.ConnectionRequestInfo cri,
boolean separateNoTx)
Retrieve the key for this request.
|
CoreLogger |
getLogger()
Get the logger
|
boolean |
testConnection()
Test if a connection can be obtained
|
boolean |
testConnection(javax.resource.spi.ConnectionRequestInfo cri,
Subject subject)
Test if a connection can be obtained
|
prefillfindConnectionListener, findConnectionListener, flush, flush, flush, getCapacity, getConnection, getConnectionManager, getManagedConnectionFactory, getManagedConnectionPool, getManagedConnectionPools, getName, getStatistics, getTransactionIntegration, getTransactionManager, getTransactionSynchronizationRegistry, internalTestConnection, isSharable, isShutdown, returnConnection, setCapacity, setConnectionManager, setName, shutdownclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindConnectionListener, findConnectionListener, getCapacity, getConnection, getManagedConnectionFactory, isSharable, isShutdown, returnConnection, setCapacity, setConnectionManager, setName, shutdownpublic OnePool(javax.resource.spi.ManagedConnectionFactory mcf,
org.jboss.jca.core.api.connectionmanager.pool.PoolConfiguration pc,
boolean noTxSeparatePools,
boolean sharable)
mcf - managed connection factorypc - pool configurationnoTxSeparatePools - notx seperate poolsharable - Are the connections sharableprotected Object getKey(Subject subject, javax.resource.spi.ConnectionRequestInfo cri, boolean separateNoTx)
getKey in class AbstractPoolsubject - the subjectcri - the connection request informationseparateNoTx - separateNoTxpublic void emptyManagedConnectionPool(ManagedConnectionPool pool)
emptyManagedConnectionPool in class AbstractPoolpool - The poolpublic boolean testConnection()
testConnection in interface org.jboss.jca.core.api.connectionmanager.pool.PooltestConnection in class AbstractPoolpublic boolean testConnection(javax.resource.spi.ConnectionRequestInfo cri,
Subject subject)
testConnection in interface org.jboss.jca.core.api.connectionmanager.pool.PooltestConnection in class AbstractPoolcri - Optional connection request info objectsubject - Optional subjectpublic CoreLogger getLogger()
getLogger in class AbstractPoolCopyright © 2013 IronJacamar (http://www.ironjacamar.org)