public class ReauthPool extends AbstractPool
| Constructor and Description |
|---|
ReauthPool(javax.resource.spi.ManagedConnectionFactory mcf,
PoolConfiguration pc,
boolean noTxSeparatePools)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
emptySubPool(ManagedConnectionPool pool)
There is no reason to empty the subpool 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
|
emptyManagedConnectionPool, flush, flush, getConnection, getConnectionListenerFactory, getManagedConnectionFactory, getManagedConnectionPool, getName, getStatistics, getTransactionIntegration, getTransactionManager, getTransactionSynchronizationRegistry, internalTestConnection, returnConnection, setConnectionListenerFactory, setName, shutdownpublic ReauthPool(javax.resource.spi.ManagedConnectionFactory mcf,
PoolConfiguration pc,
boolean noTxSeparatePools)
mcf - managed connection factorypc - pool configurationnoTxSeparatePools - notx seperate poolprotected 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 emptySubPool(ManagedConnectionPool pool)
pool - the internal managed connection poolpublic boolean testConnection()
testConnection in interface PooltestConnection in class AbstractPoolpublic CoreLogger getLogger()
getLogger in class AbstractPoolCopyright ? 2008-2009 Red Hat Middleware LLC (http://www.jboss.com/)