public class BridgeDurableParticipant extends Object implements com.arjuna.wst.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() |
com.arjuna.wst.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 com.arjuna.wst.Vote prepare()
throws com.arjuna.wst.WrongStateException,
com.arjuna.wst.SystemException
prepare in interface com.arjuna.wst.Participantcom.arjuna.wst.WrongStateExceptioncom.arjuna.wst.SystemExceptionVotepublic void commit()
throws com.arjuna.wst.WrongStateException,
com.arjuna.wst.SystemException
commit in interface com.arjuna.wst.Participantcom.arjuna.wst.WrongStateExceptioncom.arjuna.wst.SystemExceptionpublic void rollback()
throws com.arjuna.wst.WrongStateException,
com.arjuna.wst.SystemException
rollback in interface com.arjuna.wst.Participantcom.arjuna.wst.WrongStateExceptioncom.arjuna.wst.SystemExceptionpublic void unknown()
throws com.arjuna.wst.SystemException
unknown in interface com.arjuna.wst.Participantcom.arjuna.wst.SystemExceptionpublic void error()
throws com.arjuna.wst.SystemException
error in interface com.arjuna.wst.Participantcom.arjuna.wst.SystemExceptionpublic boolean isAwaitingRecovery()
public Xid getXid()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.