|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.shiftone.exq.ConnectionBuilder
This interface provides application code with a way to obtain a database connection.
Implementations of this interface are expected to be thread safe.
It is recommended that a reference be keep to an instance of concrete implementation of this interface rather than to call newInstance() each time an instance is needed.
| Constructor Summary | |
ConnectionBuilder()
|
|
| Method Summary | |
abstract java.sql.Connection |
getConnection(java.lang.String resourcePath)
Method getConnection |
static ConnectionBuilder |
newInstance()
Method newInstance |
static ConnectionBuilder |
newInstance(java.lang.ClassLoader classLoader)
Method newInstance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ConnectionBuilder()
| Method Detail |
public abstract java.sql.Connection getConnection(java.lang.String resourcePath)
throws QException
resourcePath -
QException
public static ConnectionBuilder newInstance()
throws QException
QException
public static ConnectionBuilder newInstance(java.lang.ClassLoader classLoader)
throws QException
QException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||