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 ParticipantWrongStateExceptionSystemExceptionVotepublic void commit()
throws WrongStateException,
SystemException
commit in interface ParticipantWrongStateExceptionSystemExceptionpublic void rollback()
throws WrongStateException,
SystemException
rollback in interface ParticipantWrongStateExceptionSystemExceptionpublic void unknown()
throws SystemException
unknown in interface ParticipantSystemExceptionpublic void error()
throws SystemException
error in interface ParticipantSystemExceptionpublic boolean isAwaitingRecovery()
public Xid getXid()
Copyright © 2019 JBoss by Red Hat. All rights reserved.