com.sun.xml.ws.api.tx
Interface Participant

All Known Implementing Classes:
ATSubCoordinator.DurableParticipant, ATSubCoordinator.VolatileParticipant

public interface Participant

WSAT Participant.


Nested Class Summary
static class Participant.STATE
           
 
Method Summary
 void abort()
           
 void commit()
           
 Protocol getProtocol()
          Return whether participant is Protocol.DURABLE or Protocol.VOLATILE.
 Participant.STATE prepare()
          Prepare the participant and return its result.
 

Method Detail

abort

void abort()

commit

void commit()

getProtocol

Protocol getProtocol()
Return whether participant is Protocol.DURABLE or Protocol.VOLATILE.


prepare

Participant.STATE prepare()
                          throws TXException
Prepare the participant and return its result.

Returns:
Participant.STATE of prepare operation
Throws:
TXException