public class ReauthPool extends AbstractPool
| Constructor and Description |
|---|
ReauthPool(javax.resource.spi.ManagedConnectionFactory mcf,
PoolConfiguration pc,
boolean noTxSeparatePools,
boolean sharable)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
emptyManagedConnectionPool(ManagedConnectionPool pool)
There is no reason to empty the managed connection pool for reauth enabled
resource adapters, since all managed connections can change
its credentials
|
protected java.lang.Object |
getKey(javax.security.auth.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,
javax.security.auth.Subject subject)
Test if a connection can be obtained
|
findConnectionListener, findConnectionListener, flush, flush, flush, getCapacity, getConnection, getConnectionManager, getManagedConnectionFactory, getManagedConnectionPool, getManagedConnectionPools, getName, getStatistics, getTransactionIntegration, getTransactionManager, getTransactionSynchronizationRegistry, internalTestConnection, isFIFO, isSharable, isShutdown, returnConnection, setCapacity, setConnectionManager, setName, shutdownpublic ReauthPool(javax.resource.spi.ManagedConnectionFactory mcf,
PoolConfiguration pc,
boolean noTxSeparatePools,
boolean sharable)
mcf - managed connection factorypc - pool configurationnoTxSeparatePools - notx seperate poolsharable - Are the connections sharableprotected java.lang.Object getKey(javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cri,
boolean separateNoTx)
throws javax.resource.ResourceException
getKey in class AbstractPoolsubject - the subjectcri - the connection request informationseparateNoTx - separateNoTxjavax.resource.ResourceException - for any errorpublic void emptyManagedConnectionPool(ManagedConnectionPool pool)
emptyManagedConnectionPool in class AbstractPoolpool - the managed connection poolpublic boolean testConnection()
testConnection in interface PooltestConnection in class AbstractPoolpublic boolean testConnection(javax.resource.spi.ConnectionRequestInfo cri,
javax.security.auth.Subject subject)
testConnection in interface PooltestConnection in class AbstractPoolcri - Optional connection request info objectsubject - Optional subjectpublic CoreLogger getLogger()
getLogger in class AbstractPoolCopyright © 2013 IronJacamar (http://www.ironjacamar.org)