|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CommitListener
The CommitListener interface defines the callback operations that
enable a Resource Adaptor to be notified of the outcome of an asynchronous
commit operation. An asynchronous commit operation is performed by invoking
either SleeTransaction.asyncCommit(javax.slee.transaction.CommitListener) or SleeTransactionManager.asyncCommit(javax.slee.transaction.CommitListener).
| Method Summary | |
|---|---|
void |
committed()
This method is invoked by the SLEE to indicate the transaction commit was successful. |
void |
heuristicMixed(javax.transaction.HeuristicMixedException hme)
This method is invoked by the SLEE to report that a heuristic decision was made and that some relevant updates have been committed while others have been rolled back. |
void |
heuristicRollback(javax.transaction.HeuristicRollbackException hrbe)
This method is invoked by the SLEE to indicate that a heuristic decision was made and that all relevant updates have been rolled back. |
void |
rolledBack(javax.transaction.RollbackException rbe)
This method is invoked by the SLEE to indicate the transaction rolled back instead of committing. |
void |
systemException(javax.transaction.SystemException se)
This method is invoked by the SLEE to indicate that the transaction manager encountered an unexpected error while attempting to commit the transaction. |
| Method Detail |
|---|
void committed()
void rolledBack(javax.transaction.RollbackException rbe)
rbe - the RollbackException which may provide information
about why the transaction rolled back.void heuristicMixed(javax.transaction.HeuristicMixedException hme)
hme - the HeuristicMixedException which may provide information
about the heuristic decision.void heuristicRollback(javax.transaction.HeuristicRollbackException hrbe)
hrbe - the HeuristicRollbackException which may provide information
about the heuristic decision.void systemException(javax.transaction.SystemException se)
se - the SystemException which may provide information
about the unexpected error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||