|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SqlDataSource
Interface for all builder helper classes that implement runtime functionality to allocate JDBC Connections from a JDBC DataSource. WebApp Variables that have this interface are automatically discovered by the SQL Transaction builder and become choices for the "DataSource Name" input of the transaction steps.
Method Summary | |
---|---|
java.sql.Connection |
acquireConnection(WebAppAccess webAppAccess)
Method used to acquire a JDBC Connection from a DataSource. |
java.sql.Connection |
acquireConnection(WebAppAccess webAppAccess,
java.lang.String dataSourceUser,
java.lang.String dataSourcePassword)
Method used to acquire a JDBC connection from a DataSource using the given DataSource name and password (which over-ride any name and password defined by the builder or the DataSource itself). |
void |
initialize(WebAppAccess webAppAccess)
Method used to initialize the helper class with the current set of values for the indirect references that were used to define the builder's inputs. |
void |
releaseConnection(WebAppAccess webAppAccess,
java.sql.Connection connection)
Method used to release a JDBC connection acquired from the DataSource represented by this class. |
Method Detail |
---|
java.sql.Connection acquireConnection(WebAppAccess webAppAccess)
webAppAccess
- The WebApp instance for the request.
java.sql.Connection acquireConnection(WebAppAccess webAppAccess, java.lang.String dataSourceUser, java.lang.String dataSourcePassword)
webAppAccess
- The WebApp instance for the request.dataSourceUser
- The name of the DataSource user on whose behalf the
the connection request is being made.dataSourcePassword
- The password of the DataSource user on whose
behalf the the connection request is being made.
void initialize(WebAppAccess webAppAccess)
webAppAccess
- The web app access instance for the request. If NULL,
the the class will re-initialize itself with the values it already has.void releaseConnection(WebAppAccess webAppAccess, java.sql.Connection connection)
webAppAccess
- The WebApp instance for the request.connection
- The JDBC connection to be released.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |