|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ConnectionFactory is responsible to lookup and release the
connections used by the
ConnectionManagerIF
implementation.
ConnectionFactoryPooledImpl
,
ConnectionFactoryNotPooledImpl
,
ConnectionFactoryDBCPImpl
,
ConnectionFactoryManagedImpl
Method Summary | |
java.sql.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,
java.sql.Connection con)
Release connection - CAUTION: Release every connection after use to avoid abandoned connections. |
Method Detail |
public java.sql.Connection lookupConnection(JdbcConnectionDescriptor jcd) throws LookupException
LookupException
public void releaseConnection(JdbcConnectionDescriptor jcd, java.sql.Connection con)
public void releaseAllResources()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |