org.jboss.wst11.xts.impl.jts
Class BridgeParticipantAT

java.lang.Object
  extended by org.jboss.wst11.xts.impl.jts.BridgeParticipantAT
All Implemented Interfaces:
com.arjuna.wst.Durable2PCParticipant, com.arjuna.wst.Participant, java.io.Serializable

public class BridgeParticipantAT
extends java.lang.Object
implements com.arjuna.wst.Durable2PCParticipant, java.io.Serializable

Author:
wklaczynski@sabaservice.pl, 2007-04-30
See Also:
Serialized Form

Field Summary
private static org.apache.log4j.Logger log
           
private static com.arjuna.ats.internal.jta.transaction.jts.jca.XATerminatorImple xaTerminatorImple
           
private  javax.transaction.xa.Xid xid
           
 
Constructor Summary
BridgeParticipantAT(javax.transaction.xa.Xid xid)
           
 
Method Summary
 void commit()
           
 void error()
           
 com.arjuna.wst.Vote prepare()
           
 void rollback()
           
 void unknown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xaTerminatorImple

private static com.arjuna.ats.internal.jta.transaction.jts.jca.XATerminatorImple xaTerminatorImple

log

private static org.apache.log4j.Logger log

xid

private javax.transaction.xa.Xid xid
Constructor Detail

BridgeParticipantAT

public BridgeParticipantAT(javax.transaction.xa.Xid xid)
Parameters:
xid -
Method Detail

commit

public void commit()
Specified by:
commit in interface com.arjuna.wst.Participant

rollback

public void rollback()
Specified by:
rollback in interface com.arjuna.wst.Participant

unknown

public void unknown()
             throws com.arjuna.wst.SystemException
Specified by:
unknown in interface com.arjuna.wst.Participant
Throws:
com.arjuna.wst.SystemException

error

public void error()
           throws com.arjuna.wst.SystemException
Specified by:
error in interface com.arjuna.wst.Participant
Throws:
com.arjuna.wst.SystemException

prepare

public com.arjuna.wst.Vote prepare()
                            throws com.arjuna.wst.WrongStateException,
                                   com.arjuna.wst.SystemException
Specified by:
prepare in interface com.arjuna.wst.Participant
Returns:
state after prepared
Throws:
com.arjuna.wst.WrongStateException
com.arjuna.wst.SystemException