|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Implemented by classes that customize transaction operations.
Applications that need to control a database transaction's lifecycle can implement this interface to provide a non-standard transaction handler for DBTransaction instances. TransactionHandler is called by the DBTransaction to support multiple platforms, such as EJB, LOCAL, VB (Visibroker), 8i (Oracle8i), and CORBA. Customizations to the transaction processing, if any, should be done by providing a subclass of DBTransactionImpl.
The TransactionHandler interface provides the abstraction for all these platforms. Application developers should never use the TransactionHandler interface directly.
DBTransactionImpl
,
DBTransaction
Method Summary | |
void |
handleClose()
Terminates the transaction. |
void |
handleCommit()
Commits changes to the database. |
void |
handleOpen()
Initializes the transaction. |
void |
handleRollback()
Discards changes to the database. |
Method Detail |
public void handleOpen()
public void handleCommit()
public void handleRollback()
public void handleClose()
|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |