|
Oracle Fusion Middleware extensions for Logging and Diagnostic 11g Release 1 (11.1.1.6) E22565-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.appltest.diagfwk.common.DiagBaseFactory oracle.apps.fnd.appltest.diagfwk.engine.provider.connection.ConnectionProvider
public abstract class ConnectionProvider
Provider API for getting JDBC Connections.
Primary clients for this provider API is the DAO layer that needs to fetch data from the database. External clients are not expected to use this API.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface oracle.apps.fnd.appltest.diagfwk.common.DiagConstants |
---|
DiagConstants.ExecutionMode, DiagConstants.Format, DiagConstants.LinkType, DiagConstants.Status |
Field Summary |
---|
Constructor Summary | |
---|---|
ConnectionProvider()
|
Method Summary | |
---|---|
protected abstract void |
clean()
Performs any cleanup on the Connection Provider |
static void |
cleanup()
Performs any cleanup required on the connection provider |
protected void |
closeDBConnection(java.sql.Connection pCon)
Performs explicit closing of the given Connection object |
static java.sql.Connection |
getConnection()
Returns a JDBC Connection object |
abstract java.sql.Connection |
getDBConnection()
Returns a JDBC Connection object |
static ConnectionProvider |
getInstance()
|
static void |
reset()
Cleans up and resets the provider class so it is loaded anew next time |
static void |
returnConnection(java.sql.Connection pCon)
Returns the JDBC Connection object previously borrowed from the provider. |
abstract void |
returnDBConnection(java.sql.Connection pCon)
Returns the JDBC Connection object previously borrowed from the provider. |
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.common.DiagBaseFactory |
---|
createClassLoader, loadClassFor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionProvider()
Method Detail |
---|
public abstract java.sql.Connection getDBConnection()
public abstract void returnDBConnection(java.sql.Connection pCon)
pCon
- JDBC Connection object to be returned
to the providerprotected abstract void clean()
protected void closeDBConnection(java.sql.Connection pCon)
pCon
- JDBC Connection object to be closedpublic static java.sql.Connection getConnection()
public static void returnConnection(java.sql.Connection pCon)
pCon
- JDBC Connection object to be returned
to the providerpublic static void cleanup()
public static void reset()
public static ConnectionProvider getInstance()
|
Oracle Fusion Middleware extensions for Logging and Diagnostic 11g Release 1 (11.1.1.6) E22565-06 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |