com.sun.xml.ws.tx.at
Class ATSubCoordinator.DurableParticipant

java.lang.Object
  extended by com.sun.xml.ws.tx.at.ATSubCoordinator.DurableParticipant
All Implemented Interfaces:
Participant
Enclosing class:
ATSubCoordinator

public class ATSubCoordinator.DurableParticipant
extends java.lang.Object
implements Participant


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.xml.ws.api.tx.Participant
Participant.STATE
 
Constructor Summary
ATSubCoordinator.DurableParticipant()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ATSubCoordinator.DurableParticipant

public ATSubCoordinator.DurableParticipant()
Method Detail

getProtocol

public Protocol getProtocol()
Description copied from interface: Participant
Return whether participant is Protocol.DURABLE or Protocol.VOLATILE.

Specified by:
getProtocol in interface Participant

prepare

public Participant.STATE prepare()
                          throws TXException
Description copied from interface: Participant
Prepare the participant and return its result.

Specified by:
prepare in interface Participant
Returns:
Participant.STATE of prepare operation
Throws:
TXException

commit

public void commit()
Specified by:
commit in interface Participant

abort

public void abort()
Specified by:
abort in interface Participant