|
|||||||||
| Home >> All >> org >> sbugs >> [ logic overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.sbugs.logic
Class ConnectionPool

java.lang.Objectorg.sbugs.logic.ConnectionPool
- public class ConnectionPool
- extends java.lang.Object
For now, we don't actually pool connections - we'll implement it later when we actually need the peformance boost.
| Field Summary | |
protected static ConnectionPool |
instance
|
protected java.util.ResourceBundle |
jdbcProps
|
private javax.sql.DataSource |
source
|
| Constructor Summary | |
protected |
ConnectionPool()
|
| Method Summary | |
java.sql.Connection |
getConnection()
|
private javax.sql.DataSource |
getDataSource()
|
static ConnectionPool |
getInstance()
|
protected void |
init()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
instance
protected static ConnectionPool instance
jdbcProps
protected java.util.ResourceBundle jdbcProps
source
private javax.sql.DataSource source
| Constructor Detail |
ConnectionPool
protected ConnectionPool()
| Method Detail |
getInstance
public static ConnectionPool getInstance()
init
protected void init()
getConnection
public java.sql.Connection getConnection() throws java.sql.SQLException
getDataSource
private javax.sql.DataSource getDataSource() throws java.sql.SQLException
|
|||||||||
| Home >> All >> org >> sbugs >> [ logic overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.sbugs.logic.ConnectionPool