com.p6spy.engine.spy
Class P6ConnectionPoolDataSource

java.lang.Object
  extended bycom.p6spy.engine.spy.P6Base
      extended bycom.p6spy.engine.spy.P6DataSource
          extended bycom.p6spy.engine.spy.P6ConnectionPoolDataSource
All Implemented Interfaces:
javax.sql.ConnectionPoolDataSource, javax.sql.DataSource, javax.naming.Referenceable, java.io.Serializable

public class P6ConnectionPoolDataSource
extends P6DataSource
implements javax.sql.ConnectionPoolDataSource

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.p6spy.engine.spy.P6DataSource
rds, rdsName
 
Fields inherited from class com.p6spy.engine.spy.P6Base
factory
 
Constructor Summary
P6ConnectionPoolDataSource()
           
P6ConnectionPoolDataSource(javax.sql.DataSource ds)
           
 
Method Summary
 javax.sql.PooledConnection getPooledConnection()
           
 javax.sql.PooledConnection getPooledConnection(java.lang.String s, java.lang.String s1)
           
 
Methods inherited from class com.p6spy.engine.spy.P6DataSource
bindDataSource, getConnection, getConnection, getLoginTimeout, getLogWriter, getRealDataSource, getReference, initMethod, setLoginTimeout, setLogWriter, setRealDataSource
 
Methods inherited from class com.p6spy.engine.spy.P6Base
getP6Factory, setP6Factory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.sql.ConnectionPoolDataSource
getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
 

Constructor Detail

P6ConnectionPoolDataSource

public P6ConnectionPoolDataSource()

P6ConnectionPoolDataSource

public P6ConnectionPoolDataSource(javax.sql.DataSource ds)
Method Detail

getPooledConnection

public javax.sql.PooledConnection getPooledConnection()
                                               throws java.sql.SQLException
Specified by:
getPooledConnection in interface javax.sql.ConnectionPoolDataSource
Throws:
java.sql.SQLException

getPooledConnection

public javax.sql.PooledConnection getPooledConnection(java.lang.String s,
                                                      java.lang.String s1)
                                               throws java.sql.SQLException
Specified by:
getPooledConnection in interface javax.sql.ConnectionPoolDataSource
Throws:
java.sql.SQLException