com.sybase.jdbc2.jdbc
Class SybPooledConnection

java.lang.Object
  |
  +--com.sybase.jdbc2.jdbc.SybConnection
        |
        +--com.sybase.jdbc2.jdbc.SybPooledConnection
Direct Known Subclasses:
SybXAConnection

public class SybPooledConnection
extends SybConnection
implements javax.sql.PooledConnection


Field Summary
 private com.sybase.jdbc2.jdbc.SybConnectionProxy_currentProxy
           
 private java.util.Vector_listeners
           

Fields inherited from class com.sybase.jdbc2.jdbc.SybConnection
_dbName, _dynamicPrepare, _pc, _props, _protocol, _sybDBMD, _url, TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE

Constructor Summary
 protected SybPooledConnection(com.sybase.jdbc2.jdbc.SybUrlProvider , int )
           

Method Summary
 voidaddConnectionEventListener(javax.sql.ConnectionEventListener )
           
 voidclose()
           
 java.sql.ConnectiongetConnection()
           
 protected voidnotifyListeners(java.sql.SQLException )
           
 private final voidreAssignProxy(com.sybase.jdbc2.jdbc.SybPooledConnection )
           
 voidremoveConnectionEventListener(javax.sql.ConnectionEventListener )
           

Methods inherited from class com.sybase.jdbc2.jdbc.SybConnection
addCursorResultSet, cancel, chainWarnings, checkConnection, clearWarnings, commit, convertToWarnings, createCapture, createStatement, createStatement, getAllTheWarnings, getAutoCommit, getCatalog, getCursorResultSet, getDefaultServerCharset, getEndpoint, getHALoginStatus, getHAState, getMDA, getMetaData, getSessionID, getSybMessageHandler, getTransactionIsolation, getTypeMap, getWarnings, getWarningsNoCheckConnection, handleHAFailover, handleSQLE, init, initProtocol, isClosed, isDead, isReadOnly, markDead, markDead, markDeadTryHA, nativeSQL, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, regNoWatch, regWatch, removeCursorResultSet, rollback, setAutoCommit, setCatalog, setHALoginStatus, setHAState, setReadOnly, setSybMessageHandler, setTransactionIsolation, setTypeMap, thisChainHasAnException

Methods inherited from class java.lang.Object
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize

Field Detail

_currentProxy

private com.sybase.jdbc2.jdbc.SybConnectionProxy _currentProxy

_listeners

private java.util.Vector _listeners
Constructor Detail

SybPooledConnection

protected SybPooledConnection(com.sybase.jdbc2.jdbc.SybUrlProvider , int )
Method Detail

addConnectionEventListener

public void addConnectionEventListener(javax.sql.ConnectionEventListener )

close

public void close()

getConnection

public java.sql.Connection getConnection()

notifyListeners

protected void notifyListeners(java.sql.SQLException )

reAssignProxy

private final void reAssignProxy(com.sybase.jdbc2.jdbc.SybPooledConnection )

removeConnectionEventListener

public void removeConnectionEventListener(javax.sql.ConnectionEventListener )