org.jboss.resource.connectionmanager
Class JBossManagedConnectionPool.SubPoolContext

java.lang.Object
  extended by org.jboss.resource.connectionmanager.JBossManagedConnectionPool.SubPoolContext
Enclosing class:
JBossManagedConnectionPool

public static class JBossManagedConnectionPool.SubPoolContext
extends Object


Constructor Summary
JBossManagedConnectionPool.SubPoolContext(TransactionManager tm, javax.resource.spi.ManagedConnectionFactory mcf, ConnectionListenerFactory clf, Subject subject, javax.resource.spi.ConnectionRequestInfo cri, InternalManagedConnectionPool.PoolParams poolParams, org.jboss.logging.Logger log)
          Create a new SubPoolContext.
 
Method Summary
 InternalManagedConnectionPool getSubPool()
          Get the sub pool
 org.jboss.tm.TransactionLocal getTrackByTx()
          Get the track by transaction
 void initialize()
          Initialize the subpool context
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossManagedConnectionPool.SubPoolContext

public JBossManagedConnectionPool.SubPoolContext(TransactionManager tm,
                                                 javax.resource.spi.ManagedConnectionFactory mcf,
                                                 ConnectionListenerFactory clf,
                                                 Subject subject,
                                                 javax.resource.spi.ConnectionRequestInfo cri,
                                                 InternalManagedConnectionPool.PoolParams poolParams,
                                                 org.jboss.logging.Logger log)
Create a new SubPoolContext.

Parameters:
tm - the transaction manager
mcf - the managed connection factory
clf - the connection listener factory
subject - the subject
cri - the connection request info
poolParams - the pool parameters
log - the log
Method Detail

getSubPool

public InternalManagedConnectionPool getSubPool()
Get the sub pool

Returns:
the sub pool

getTrackByTx

public org.jboss.tm.TransactionLocal getTrackByTx()
Get the track by transaction

Returns:
the transaction local

initialize

public void initialize()
Initialize the subpool context



Copyright © 2002 JBoss Group, LLC. All Rights Reserved.