public class BridgeDurableParticipant extends Object implements Durable2PCParticipant, Serializable
Modifier and Type | Field and Description |
---|---|
static String |
TYPE_IDENTIFIER |
static int |
XARESOURCE_FORMAT_ID |
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.
|
Xid |
getXid() |
boolean |
isAwaitingRecovery() |
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.
|
public static final String TYPE_IDENTIFIER
public static final int XARESOURCE_FORMAT_ID
public Vote prepare() throws WrongStateException, SystemException
prepare
in interface Participant
WrongStateException
SystemException
Vote
public void commit() throws WrongStateException, SystemException
commit
in interface Participant
WrongStateException
SystemException
public void rollback() throws WrongStateException, SystemException
rollback
in interface Participant
WrongStateException
SystemException
public void unknown() throws SystemException
unknown
in interface Participant
SystemException
public void error() throws SystemException
error
in interface Participant
SystemException
public boolean isAwaitingRecovery()
public Xid getXid()
Copyright © 2016 JBoss by Red Hat. All rights reserved.