|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JBossXATerminator
Extends XATerminator to include registration calls
Method Summary | |
---|---|
void |
cancelWork(javax.resource.spi.work.Work work,
Xid xid)
Invoked when the work fails |
void |
endWork(javax.resource.spi.work.Work work,
Xid xid)
Invoked when transaction inflow work ends |
void |
registerWork(javax.resource.spi.work.Work work,
Xid xid,
long timeout)
Invoked for transaction inflow of work |
void |
startWork(javax.resource.spi.work.Work work,
Xid xid)
Invoked for transaction inflow of work |
Methods inherited from interface javax.resource.spi.XATerminator |
---|
commit, forget, prepare, recover, rollback |
Method Detail |
---|
void registerWork(javax.resource.spi.work.Work work, Xid xid, long timeout) throws javax.resource.spi.work.WorkCompletedException
work
- the work startingxid
- the xid of the worktimeout
- the transaction timeout
javax.resource.spi.work.WorkCompletedException
- with error code WorkException.TX_CONCURRENT_WORK_DISALLOWED
when work is already present for the xid or whose completion is in progress, only
the global part of the xid must be used for this check.void startWork(javax.resource.spi.work.Work work, Xid xid) throws javax.resource.spi.work.WorkCompletedException
work
- the work startingxid
- the xid of the work
javax.resource.spi.work.WorkCompletedException
- with error code WorkException.TX_RECREATE_FAILED if it is unable to recreate the transaction contextvoid endWork(javax.resource.spi.work.Work work, Xid xid)
work
- the work endingxid
- the xid of the workvoid cancelWork(javax.resource.spi.work.Work work, Xid xid)
work
- the work endingxid
- the xid of the work
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |