FileDocCategorySizeDatePackage
CompletionHandler.javaAPI DocGlassfish v2 API4299Fri May 04 22:36:36 BST 2007com.sun.jts.CosTransactions

CompletionHandler

public interface CompletionHandler
The CompletionHandler interface provides operations that allow an object to be informed when a Coordinator locally completes a transaction.

This is to allow the CoordinatorResource and CoordinatorTerm objects for a transaction to be informed when the Coordinator is completed via some path other than normal.

version
0.1
author
Simon Holdsworth, IBM Corporation
see

Fields Summary
Constructors Summary
Methods Summary
public abstract voidsetCompleted(boolean aborted, boolean heuristicDamage)
Informs the ComplemtionHandler object that the transaction it represents has completed.

Flags indicate whether the transaction aborted, and whether there was heuristic damage.

This operation is invoked by a Coordinator when it is rolled back, potentially by a caller other than the CompletionHandler itself.

param
aborted Indicates whether the transaction locally aborted.
param
heuristicDamage Indicates local heuristic damage.
return
see