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
WrongStateException
SystemException
Vote
void commit() throws WrongStateException, SystemException
WrongStateException
SystemException
void rollback() throws WrongStateException, SystemException
WrongStateException
SystemException
void unknown() throws SystemException
SystemException
void error() throws SystemException
SystemException
Copyright © 2018 JBoss by Red Hat. All rights reserved.