public class WSATVolatile2PCParticipant extends Participant implements Volatile2PCParticipant
lifecycleEventMap, serviceInvocationMeta, visibleMethods
Constructor and Description |
---|
WSATVolatile2PCParticipant(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, suspend
public WSATVolatile2PCParticipant(ServiceInvocationMeta serviceInvocationMeta, Map txDataMap) throws ParticipantRegistrationException
ParticipantRegistrationException
public void commit() throws WrongStateException, SystemException
Participant
commit
in interface Participant
WrongStateException
SystemException
public void rollback() throws WrongStateException, SystemException
Participant
rollback
in interface Participant
WrongStateException
SystemException
public void error() throws SystemException
Participant
error
in interface Participant
SystemException
public Vote prepare() throws WrongStateException, SystemException
Participant
prepare
in interface Participant
WrongStateException
SystemException
Vote
public void unknown() throws SystemException
Participant
unknown
in interface Participant
SystemException
Copyright © 2013. All rights reserved.