|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SmartConnectionPool
Defines the interface for Application Server independent connection pooling. This allows for specification of Connection objects at deployment time.
Method Summary | |
---|---|
Connection |
getConnection()
Returns the SQL Connection for this Transaction. |
void |
releaseConnection(Connection connection)
Releases the SQL Connection for this Transaction. |
void |
setJNDIContext(Context JNDIContext)
Inform provider of ejbContext. |
Method Detail |
---|
void setJNDIContext(Context JNDIContext) throws BMPException
ejbContext
- the bean's ejbContext.
BMPException
Connection getConnection() throws BMPException
BMPException
- implementation specific exception occurredvoid releaseConnection(Connection connection) throws BMPException
conn
- Connection object.
BMPException
- implementation specific exception occurred
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |