Save This Page
Home » commons-dbcp-1.2.2-src » org.apache.commons » dbcp » [javadoc | source]
org.apache.commons.dbcp
class: PoolingDataSource.PoolGuardConnectionWrapper [javadoc | source]
java.lang.Object
   org.apache.commons.dbcp.AbandonedTrace
      org.apache.commons.dbcp.DelegatingConnection
         org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper

All Implemented Interfaces:
    Connection

PoolGuardConnectionWrapper is a Connection wrapper that makes sure a closed connection cannot be used anymore.
Fields inherited from org.apache.commons.dbcp.DelegatingConnection:
_conn,  _closed
Constructor:
 PoolGuardConnectionWrapper(Connection delegate) 
Method from org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper Summary:
checkOpen,   clearWarnings,   close,   commit,   createStatement,   createStatement,   createStatement,   equals,   getAutoCommit,   getCatalog,   getDelegate,   getHoldability,   getInnermostDelegate,   getMetaData,   getTransactionIsolation,   getTypeMap,   getWarnings,   hashCode,   innermostDelegateEquals,   isClosed,   isReadOnly,   nativeSQL,   prepareCall,   prepareCall,   prepareCall,   prepareStatement,   prepareStatement,   prepareStatement,   prepareStatement,   prepareStatement,   prepareStatement,   releaseSavepoint,   rollback,   rollback,   setAutoCommit,   setCatalog,   setHoldability,   setReadOnly,   setSavepoint,   setSavepoint,   setTransactionIsolation,   setTypeMap,   toString
Methods from org.apache.commons.dbcp.DelegatingConnection:
activate,   checkOpen,   clearWarnings,   close,   commit,   createStatement,   createStatement,   createStatement,   equals,   getAutoCommit,   getCatalog,   getDelegate,   getHoldability,   getInnermostDelegate,   getMetaData,   getTransactionIsolation,   getTypeMap,   getWarnings,   handleException,   hashCode,   innermostDelegateEquals,   isClosed,   isReadOnly,   nativeSQL,   passivate,   prepareCall,   prepareCall,   prepareCall,   prepareStatement,   prepareStatement,   prepareStatement,   prepareStatement,   prepareStatement,   prepareStatement,   releaseSavepoint,   rollback,   rollback,   setAutoCommit,   setCatalog,   setDelegate,   setHoldability,   setReadOnly,   setSavepoint,   setSavepoint,   setTransactionIsolation,   setTypeMap,   toString
Methods from org.apache.commons.dbcp.AbandonedTrace:
addTrace,   clearTrace,   getConfig,   getLastUsed,   getTrace,   printStackTrace,   removeTrace,   setLastUsed,   setLastUsed,   setStackTrace
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper Detail:
 protected  void checkOpen() throws SQLException 
 public  void clearWarnings() throws SQLException 
 public  void close() throws SQLException 
 public  void commit() throws SQLException 
 public Statement createStatement() throws SQLException 
 public Statement createStatement(int resultSetType,
    int resultSetConcurrency) throws SQLException 
 public Statement createStatement(int resultSetType,
    int resultSetConcurrency,
    int resultSetHoldability) throws SQLException 
 public boolean equals(Object obj) 
 public boolean getAutoCommit() throws SQLException 
 public String getCatalog() throws SQLException 
 public Connection getDelegate() 
 public int getHoldability() throws SQLException 
 public Connection getInnermostDelegate() 
 public DatabaseMetaData getMetaData() throws SQLException 
 public int getTransactionIsolation() throws SQLException 
 public Map getTypeMap() throws SQLException 
 public SQLWarning getWarnings() throws SQLException 
 public int hashCode() 
 public boolean innermostDelegateEquals(Connection c) 
 public boolean isClosed() throws SQLException 
 public boolean isReadOnly() throws SQLException 
 public String nativeSQL(String sql) throws SQLException 
 public CallableStatement prepareCall(String sql) throws SQLException 
 public CallableStatement prepareCall(String sql,
    int resultSetType,
    int resultSetConcurrency) throws SQLException 
 public CallableStatement prepareCall(String sql,
    int resultSetType,
    int resultSetConcurrency,
    int resultSetHoldability) throws SQLException 
 public PreparedStatement prepareStatement(String sql) throws SQLException 
 public PreparedStatement prepareStatement(String sql,
    int autoGeneratedKeys) throws SQLException 
 public PreparedStatement prepareStatement(String sql,
    int[] columnIndexes) throws SQLException 
 public PreparedStatement prepareStatement(String sql,
    String[] columnNames) throws SQLException 
 public PreparedStatement prepareStatement(String sql,
    int resultSetType,
    int resultSetConcurrency) throws SQLException 
 public PreparedStatement prepareStatement(String sql,
    int resultSetType,
    int resultSetConcurrency,
    int resultSetHoldability) throws SQLException 
 public  void releaseSavepoint(Savepoint savepoint) throws SQLException 
 public  void rollback() throws SQLException 
 public  void rollback(Savepoint savepoint) throws SQLException 
 public  void setAutoCommit(boolean autoCommit) throws SQLException 
 public  void setCatalog(String catalog) throws SQLException 
 public  void setHoldability(int holdability) throws SQLException 
 public  void setReadOnly(boolean readOnly) throws SQLException 
 public Savepoint setSavepoint() throws SQLException 
 public Savepoint setSavepoint(String name) throws SQLException 
 public  void setTransactionIsolation(int level) throws SQLException 
 public  void setTypeMap(Map map) throws SQLException 
 public String toString()