|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atomikos.icatch.jca.InboundTransaction
public class InboundTransaction
A transaction token for an inbound JCA transaction. This class represents an underlying transaction and simplifies the JCA-related handling of thread-association and termination issues. An instance is returned when importing via the TransactionInflowHelper.
Note: if full access to the underlying transaction is needed, then this can be done via the TransactionManager interfaces after resume() has been called.
Method Summary | |
---|---|
void |
end(boolean success)
Ends the underlying transaction. |
void |
resume()
Resumes the transaction in the calling thread. |
void |
suspend()
Suspends the transaction from the calling thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void resume()
public void suspend()
public void end(boolean success) throws RollbackException
success
- If true then the transaction
is maintained until it times out or terminates
via the XATerminator methods, whichever comes first.
If false then the transaction is rolled back
immediately. In that case, the XATerminator
functionality is no longer required nor relevant.
RollbackException
- If the transaction
has already been rolled back due to timeout.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |