|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionFactory
ConnectionFactory is responsible to lookup and release the
connections used by the
ConnectionManagerIF
implementation.
ConnectionFactoryPooledImpl,
ConnectionFactoryNotPooledImpl,
ConnectionFactoryDBCPImpl,
ConnectionFactoryManagedImpl| Method Summary | |
|---|---|
Connection |
lookupConnection(JdbcConnectionDescriptor jcd)
Lookup a connection from the connection factory implementation. |
void |
releaseAllResources()
Release all resources used by the implementing class (e.g. |
void |
releaseConnection(JdbcConnectionDescriptor jcd,
Connection con)
Release connection - CAUTION: Release every connection after use to avoid abandoned connections. |
| Method Detail |
|---|
Connection lookupConnection(JdbcConnectionDescriptor jcd)
throws LookupException
LookupException
void releaseConnection(JdbcConnectionDescriptor jcd,
Connection con)
void releaseAllResources()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||