|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.core.connectionmanager.pool.AbstractPool
org.jboss.jca.core.connectionmanager.pool.strategy.PoolBySubjectAndCri
public class PoolBySubjectAndCri

Pool implementation that uses subject and connection request info for its pool partition.
| Constructor Summary | |
|---|---|
PoolBySubjectAndCri(javax.resource.spi.ManagedConnectionFactory mcf,
org.jboss.jca.core.api.connectionmanager.pool.PoolConfiguration pc,
boolean noTxSeparatePools)
Creates a new instance. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class org.jboss.jca.core.connectionmanager.pool.AbstractPool |
|---|
emptyManagedConnectionPool, flush, flush, getConnection, getConnectionListenerFactory, getManagedConnectionFactory, getManagedConnectionPool, getName, getStatistics, getTransactionIntegration, getTransactionManager, getTransactionSynchronizationRegistry, internalTestConnection, returnConnection, setConnectionListenerFactory, setName, shutdown |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PoolBySubjectAndCri(javax.resource.spi.ManagedConnectionFactory mcf,
org.jboss.jca.core.api.connectionmanager.pool.PoolConfiguration pc,
boolean noTxSeparatePools)
mcf - managed connection factorypc - pool configurationnoTxSeparatePools - notx seperate pool| Method Detail |
|---|
protected Object getKey(Subject subject,
javax.resource.spi.ConnectionRequestInfo cri,
boolean separateNoTx)
throws javax.resource.ResourceException
getKey in class AbstractPoolsubject - the subjectcri - the connection request informationseparateNoTx - separateNoTx
javax.resource.ResourceException - for any errorpublic boolean testConnection()
testConnection in interface org.jboss.jca.core.api.connectionmanager.pool.PooltestConnection in class AbstractPoolpublic CoreLogger getLogger()
getLogger in class AbstractPool
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||