com.atomikos.jdbc
Class AtomikosXAPooledConnection

java.lang.Object
  extended by com.atomikos.datasource.pool.AbstractXPooledConnection
      extended by com.atomikos.jdbc.AtomikosXAPooledConnection
All Implemented Interfaces:
XPooledConnection

public class AtomikosXAPooledConnection
extends AbstractXPooledConnection


Constructor Summary
AtomikosXAPooledConnection(XAConnection xaConnection, JdbcTransactionalResource jdbcTransactionalResource, ConnectionPoolProperties props)
           
 
Method Summary
 boolean canBeRecycledForCallingThread()
           
 void destroy()
           
protected  Reapable doCreateConnectionProxy(HeuristicMessage hmsg)
           
 boolean isAvailable()
           
 boolean isErroneous()
           
 boolean isInTransaction(CompositeTransaction ct)
           
protected  void testUnderlyingConnection()
           
 String toString()
           
 
Methods inherited from class com.atomikos.datasource.pool.AbstractXPooledConnection
createConnectionProxy, fireOnXPooledConnectionTerminated, getCreationTime, getCurrentConnectionProxy, getDefaultIsolationLevel, getLastTimeAcquired, getLastTimeReleased, getTestQuery, reap, registerXPooledConnectionEventListener, unregisterXPooledConnectionEventListener, updateLastTimeAcquired, updateLastTimeReleased
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AtomikosXAPooledConnection

public AtomikosXAPooledConnection(XAConnection xaConnection,
                                  JdbcTransactionalResource jdbcTransactionalResource,
                                  ConnectionPoolProperties props)
                           throws SQLException
Throws:
SQLException
Method Detail

destroy

public void destroy()

doCreateConnectionProxy

protected Reapable doCreateConnectionProxy(HeuristicMessage hmsg)
                                    throws CreateConnectionException
Specified by:
doCreateConnectionProxy in class AbstractXPooledConnection
Throws:
CreateConnectionException

testUnderlyingConnection

protected void testUnderlyingConnection()
                                 throws CreateConnectionException
Specified by:
testUnderlyingConnection in class AbstractXPooledConnection
Throws:
CreateConnectionException

isAvailable

public boolean isAvailable()

isErroneous

public boolean isErroneous()

toString

public String toString()
Overrides:
toString in class Object

isInTransaction

public boolean isInTransaction(CompositeTransaction ct)

canBeRecycledForCallingThread

public boolean canBeRecycledForCallingThread()
Specified by:
canBeRecycledForCallingThread in interface XPooledConnection
Overrides:
canBeRecycledForCallingThread in class AbstractXPooledConnection


Copyright © 2014. All Rights Reserved.