public class WSATDurable2PCParticipant extends Participant implements Durable2PCParticipant
lifecycleEventMap, serviceInvocationMeta, visibleMethods| Constructor and Description |
|---|
WSATDurable2PCParticipant(ServiceInvocationMeta serviceInvocationMeta,
Map txDataMap) |
| 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.
|
invoke, registerEventsOfInterest, resume, suspendpublic WSATDurable2PCParticipant(ServiceInvocationMeta serviceInvocationMeta, Map txDataMap) throws ParticipantRegistrationException
ParticipantRegistrationExceptionpublic void commit()
throws WrongStateException,
SystemException
Participantcommit in interface ParticipantWrongStateExceptionSystemExceptionpublic void rollback()
throws WrongStateException,
SystemException
Participantrollback in interface ParticipantWrongStateExceptionSystemExceptionpublic void error()
throws SystemException
Participanterror in interface ParticipantSystemExceptionpublic Vote prepare() throws WrongStateException, SystemException
Participantprepare in interface ParticipantWrongStateExceptionSystemExceptionVotepublic void unknown()
throws SystemException
Participantunknown in interface ParticipantSystemExceptionCopyright © 2013. All rights reserved.