public interface Participant
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
The participant should make permanent the work that it controls.
|
void |
error()
During recovery the participant can enquire as to the status of the
transaction it was registered with.
|
Vote |
prepare()
Perform any work necessary to allow it to either commit or rollback
the work performed by the Web service under the scope of the
transaction.
|
void |
rollback()
The participant should undo the work that it controls.
|
void |
unknown()
During recovery the participant can enquire as to the status of the
transaction it was registered with.
|
Vote prepare() throws WrongStateException, SystemException
WrongStateExceptionSystemExceptionVotevoid commit()
throws WrongStateException,
SystemException
WrongStateExceptionSystemExceptionvoid rollback()
throws WrongStateException,
SystemException
WrongStateExceptionSystemExceptionvoid unknown()
throws SystemException
SystemExceptionvoid error()
throws SystemException
SystemExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.