gnu.beanfactory.jdbc
Class BitmechanicConnectionPool

java.lang.Object
  |
  +--gnu.beanfactory.jdbc.BasicConnectionPool
        |
        +--gnu.beanfactory.jdbc.BitmechanicConnectionPool
All Implemented Interfaces:
ConnectionPool

public class BitmechanicConnectionPool
extends BasicConnectionPool
implements ConnectionPool

Implementation of ConnectionPool that ships with BeanFactory.


Constructor Summary
BitmechanicConnectionPool()
           
 
Method Summary
 java.lang.String getPooledUrl()
          If the connection pool exposes the connections through a "virtual" driver, this read-only property will provide the name.
 java.sql.Connection obtainConnection()
          Obtains a connection from the pool.
 void postInit()
           
 
Methods inherited from class gnu.beanfactory.jdbc.BasicConnectionPool
getAutoCommit, getCacheStatements, getCheckoutTimeout, getDriver, getIdleTimeout, getMaxCheckout, getMaxConnections, getPassword, getPoolName, getTracing, getUrl, getUser, releaseConnection, setAutoCommit, setCacheStatements, setCheckoutTimeout, setDriver, setIdleTimeout, setMaxCheckout, setMaxConnections, setPassword, setPoolName, setTracing, setUrl, setUser, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface gnu.beanfactory.jdbc.ConnectionPool
getAutoCommit, getCacheStatements, getCheckoutTimeout, getDriver, getIdleTimeout, getMaxCheckout, getMaxConnections, getPassword, getPoolName, getTracing, getUrl, getUser, releaseConnection, setAutoCommit, setCacheStatements, setCheckoutTimeout, setDriver, setIdleTimeout, setMaxCheckout, setMaxConnections, setPassword, setPoolName, setTracing, setUrl, setUser
 

Constructor Detail

BitmechanicConnectionPool

public BitmechanicConnectionPool()
Method Detail

postInit

public void postInit()
              throws java.sql.SQLException,
                     EncapsulatedException
Specified by:
postInit in interface ConnectionPool
Overrides:
postInit in class BasicConnectionPool

obtainConnection

public java.sql.Connection obtainConnection()
                                     throws java.sql.SQLException
Description copied from interface: ConnectionPool
Obtains a connection from the pool.
Specified by:
obtainConnection in interface ConnectionPool
Overrides:
obtainConnection in class BasicConnectionPool

getPooledUrl

public java.lang.String getPooledUrl()
Description copied from interface: ConnectionPool
If the connection pool exposes the connections through a "virtual" driver, this read-only property will provide the name.
Specified by:
getPooledUrl in interface ConnectionPool
Overrides:
getPooledUrl in class BasicConnectionPool