org.jboss.resource.connectionmanager
Class BaseConnectionManager2.ConnectionManagerProxy

java.lang.Object
  extended by org.jboss.resource.connectionmanager.BaseConnectionManager2.ConnectionManagerProxy
All Implemented Interfaces:
Serializable, javax.resource.spi.ConnectionManager, org.jboss.tm.TransactionTimeoutConfiguration
Enclosing class:
BaseConnectionManager2

public static class BaseConnectionManager2.ConnectionManagerProxy
extends Object
implements javax.resource.spi.ConnectionManager, Serializable, org.jboss.tm.TransactionTimeoutConfiguration

See Also:
Serialized Form

Method Summary
 Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf, javax.resource.spi.ConnectionRequestInfo cri)
           
 long getTimeLeftBeforeTransactionTimeout(boolean errorRollback)
           
 int getTransactionTimeout()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

allocateConnection

public Object allocateConnection(javax.resource.spi.ManagedConnectionFactory mcf,
                                 javax.resource.spi.ConnectionRequestInfo cri)
                          throws javax.resource.ResourceException
Specified by:
allocateConnection in interface javax.resource.spi.ConnectionManager
Throws:
javax.resource.ResourceException

getTimeLeftBeforeTransactionTimeout

public long getTimeLeftBeforeTransactionTimeout(boolean errorRollback)
                                         throws RollbackException
Specified by:
getTimeLeftBeforeTransactionTimeout in interface org.jboss.tm.TransactionTimeoutConfiguration
Throws:
RollbackException

getTransactionTimeout

public int getTransactionTimeout()
                          throws SystemException
Specified by:
getTransactionTimeout in interface org.jboss.tm.TransactionTimeoutConfiguration
Throws:
SystemException


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