|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.exolab.jms.persistence.AbstractConnectionManager
|
+--org.exolab.jms.persistence.DBCPConnectionManager
Wrapper around the DBCP connection manager.
| Constructor Summary | |
DBCPConnectionManager()
Default constructor. |
|
| Method Summary | |
java.sql.Connection |
getConnection()
Retrieve a connection to the underlying database from the pool of connections. |
void |
init()
Initialise the connection manager. |
| Methods inherited from class org.exolab.jms.persistence.AbstractConnectionManager |
getDriver, getEvictionInterval, getMaxActive, getMaxIdle, getMinIdleTime, getPassword, getTestBeforeUse, getTestQuery, getURL, getUser, setDriver, setEvictionInterval, setMaxActive, setMaxIdle, setMinIdleTime, setPassword, setTestBeforeUse, setTestQuery, setURL, setUser |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DBCPConnectionManager()
| Method Detail |
public void init()
throws PersistenceException
getConnection() is made and after all the properties have been
set.org.exolab.jms.persistence.DBConnectionManagerPersistenceException - - if there is a problem with the init
public java.sql.Connection getConnection()
throws PersistenceException
PersistenceException - if a connection cannot be retrieved
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||