com.atomikos.icatch.imp
Class SubTransactionCoordinatorParticipant

java.lang.Object
  extended by com.atomikos.icatch.imp.SubTransactionCoordinatorParticipant
All Implemented Interfaces:
Participant, Serializable

public class SubTransactionCoordinatorParticipant
extends Object
implements Participant

A participant for registering a subtx coordinator as a subordinate in 2PC of the parent transaction coordinator.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.atomikos.icatch.Participant
READ_ONLY
 
Constructor Summary
SubTransactionCoordinatorParticipant(CoordinatorImp subordinateCoordinator)
           
 
Method Summary
 void commit(boolean onePhase)
           
 void forget()
           
 String getResourceName()
           
 String getURI()
           
 boolean isRecoverable()
           
 int prepare()
           
 boolean recover()
           
 void rollback()
           
 void setCascadeList(Dictionary allParticipants)
           
 void setGlobalSiblingCount(int count)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubTransactionCoordinatorParticipant

public SubTransactionCoordinatorParticipant(CoordinatorImp subordinateCoordinator)
Method Detail

recover

public boolean recover()
                throws SysException
Specified by:
recover in interface Participant
Throws:
SysException
See Also:
Participant.recover()

getURI

public String getURI()
Specified by:
getURI in interface Participant
See Also:
Participant.getURI()

setCascadeList

public void setCascadeList(Dictionary allParticipants)
                    throws SysException
Specified by:
setCascadeList in interface Participant
Throws:
SysException
See Also:
Participant.setCascadeList(java.util.Dictionary)

setGlobalSiblingCount

public void setGlobalSiblingCount(int count)
Specified by:
setGlobalSiblingCount in interface Participant
See Also:
Participant.setGlobalSiblingCount(int)

prepare

public int prepare()
            throws RollbackException,
                   HeurHazardException,
                   HeurMixedException,
                   SysException
Specified by:
prepare in interface Participant
Throws:
RollbackException
HeurHazardException
HeurMixedException
SysException
See Also:
Participant.prepare()

commit

public void commit(boolean onePhase)
            throws HeurRollbackException,
                   HeurHazardException,
                   HeurMixedException,
                   RollbackException,
                   SysException
Specified by:
commit in interface Participant
Throws:
HeurRollbackException
HeurHazardException
HeurMixedException
RollbackException
SysException
See Also:
Participant.commit(boolean)

rollback

public void rollback()
              throws HeurCommitException,
                     HeurMixedException,
                     HeurHazardException,
                     SysException
Specified by:
rollback in interface Participant
Throws:
HeurCommitException
HeurMixedException
HeurHazardException
SysException
See Also:
Participant.rollback()

forget

public void forget()
Specified by:
forget in interface Participant
See Also:
Participant.forget()

isRecoverable

public boolean isRecoverable()
Specified by:
isRecoverable in interface Participant

getResourceName

public String getResourceName()
Specified by:
getResourceName in interface Participant


Copyright © 2016. All Rights Reserved.