public class XATerminator
extends com.arjuna.ats.internal.jta.transaction.arjunacore.jca.XATerminatorImple
implements org.jboss.tm.JBossXATerminator
| Constructor and Description |
|---|
XATerminator() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancelWork(javax.resource.spi.work.Work work,
Xid xid)
Remove the associated work from the transaction.
|
void |
endWork(javax.resource.spi.work.Work work,
Xid xid)
Disassociate the thread from the transaction and remove the
work from the transaction pool of workers.
|
void |
registerWork(javax.resource.spi.work.Work work,
Xid xid,
long timeout)
Register the unit of work with the specified transaction.
|
void |
startWork(javax.resource.spi.work.Work work,
Xid xid)
Associate the current thread with the specified transaction.
|
beforeCompletion, commit, doRecover, forget, getCurrentTransactionId, getImportedTransaction, getTransaction, getTransactionById, getXidsToRecoverForParentNode, importTransaction, isRecoveryByNodeOrXidSupported, prepare, recover, removeImportedTransaction, rollbackpublic void registerWork(javax.resource.spi.work.Work work,
Xid xid,
long timeout)
throws javax.resource.spi.work.WorkCompletedException
registerWork in interface org.jboss.tm.JBossXATerminatorwork - the work to associate with the transaction.xid - the transaction within which the work will be performed.timeout - the lifetime of the transaction.javax.resource.spi.work.WorkCompletedException - thrown if the work cannot be associated with the transaction.public void startWork(javax.resource.spi.work.Work work,
Xid xid)
throws javax.resource.spi.work.WorkCompletedException
startWork in interface org.jboss.tm.JBossXATerminatorwork - the Work to startxid - the transaction to associate with the current thread.javax.resource.spi.work.WorkCompletedException - thrown if there are any errors.public void endWork(javax.resource.spi.work.Work work,
Xid xid)
endWork in interface org.jboss.tm.JBossXATerminatorwork - the Work unit to remove.xid - the transaction to remove the work from.public void cancelWork(javax.resource.spi.work.Work work,
Xid xid)
cancelWork in interface org.jboss.tm.JBossXATerminatorwork - the unit of work to remove.xid - the transaction from which it should be disassociated.Copyright © 2022 JBoss by Red Hat. All rights reserved.