|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--gnu.beanfactory.jdbc.BasicConnectionPool
|
+--gnu.beanfactory.jdbc.BitmechanicConnectionPool
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 |
public BitmechanicConnectionPool()
| Method Detail |
public void postInit()
throws java.sql.SQLException,
EncapsulatedException
postInit in interface ConnectionPoolpostInit in class BasicConnectionPool
public java.sql.Connection obtainConnection()
throws java.sql.SQLException
ConnectionPoolobtainConnection in interface ConnectionPoolobtainConnection in class BasicConnectionPoolpublic java.lang.String getPooledUrl()
ConnectionPoolgetPooledUrl in interface ConnectionPoolgetPooledUrl in class BasicConnectionPool
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||