|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface SessionManagerOperations
This local object manages connection to a database. The user must use it in order to propagate a transaction from the OTS to the database. To get access to this object, the user must apply the 'TransactionSessionManager' value to the resolve_initial_references operation.
| Method Summary | |
|---|---|
void |
freeConnections(Coordinator coordinator)
This operation is automatically called by the openORB OTS to free all connections involved into a transaction when it completed. |
java.sql.Connection |
getConnection(java.lang.String user_name,
java.lang.String user_password,
java.lang.String profile_name)
Return a connection to a database. |
void |
updateConnection(javax.sql.XAConnection connection,
Coordinator coordinator)
This operation is automatically called by the openORB OTS to change a connection state. |
| Method Detail |
|---|
java.sql.Connection getConnection(java.lang.String user_name,
java.lang.String user_password,
java.lang.String profile_name)
user_name - the user name to get a connection to the database.user_password - the user password to get a connection to the database.profile_name - the database profile ( this profile name is used to get information from
the openORB OTS configuration file, i.e. JDBC driver and so on... )
void freeConnections(Coordinator coordinator)
void updateConnection(javax.sql.XAConnection connection,
Coordinator coordinator)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||