public interface TransactionControl
| Modifier and Type | Method and Description |
|---|---|
Object |
beginTransaction()
beginTransaction is expected to be called when the transaction manager enlists the XAResource into the
transaction, in the XAResource.start(Xid xid, int flags) call.
|
void |
close()
Expected to be called from both XAResource.rollback(Xid xid) + XAResource.commit(Xid xid, boolean onePhase).
|
void |
failure()
Expected to be called when transaction manager calls XAResource.rollback(Xid xid).
|
void |
success()
Expected to be called when transaction manager calls XAResource.commit(Xid xid, boolean onePhase).
|
Object beginTransaction()
void success()
void failure()
void close()
Copyright © 2017 JBoss by Red Hat. All rights reserved.