| org.jboss.tm.JBossXATerminator
All known Subclasses: org.jboss.tm.TxManager,
JBossXATerminator | public interface JBossXATerminator extends XATerminator(Code) | | Extends XATerminator to include registration calls
author: Adrian Brock version: $Revision: 57208 $ |
cancelWork | void cancelWork(Work work, Xid xid)(Code) | | Invoked when the work fails
Parameters: work - the work ending Parameters: xid - the xid of the work |
endWork | void endWork(Work work, Xid xid)(Code) | | Invoked when transaction inflow work ends
Parameters: work - the work ending Parameters: xid - the xid of the work |
registerWork | void registerWork(Work work, Xid xid, long timeout) throws WorkCompletedException(Code) | | Invoked for transaction inflow of work
Parameters: work - the work starting Parameters: xid - the xid of the work Parameters: timeout - the transaction timeout throws: WorkCompletedException - with error code WorkException.TX_CONCURRENT_WORK_DISALLOWEDwhen work is already present for the xid or whose completion is in progress, onlythe global part of the xid must be used for this check. |
startWork | void startWork(Work work, Xid xid) throws WorkCompletedException(Code) | | Invoked for transaction inflow of work
Parameters: work - the work starting Parameters: xid - the xid of the work throws: WorkCompletedException - with error code WorkException.TX_RECREATE_FAILED if it is unable to recreate the transaction context |
|
|