org.jboss.wst.xts.impl
Class BridgeServiceCleanup

java.lang.Object
  extended by org.jboss.wst.xts.impl.BridgeServiceCleanup
All Implemented Interfaces:
com.arjuna.wst.Participant, com.arjuna.wst.Volatile2PCParticipant

public class BridgeServiceCleanup
extends java.lang.Object
implements com.arjuna.wst.Volatile2PCParticipant

Author:
wklaczynski@sabaservice.pl, 2007-04-30

Field Summary
private static org.apache.log4j.Logger log
           
private  java.lang.String txId
           
 
Constructor Summary
BridgeServiceCleanup(java.lang.String txId)
           
 
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

log

private static org.apache.log4j.Logger log

txId

private java.lang.String txId
Constructor Detail

BridgeServiceCleanup

public BridgeServiceCleanup(java.lang.String txId)
Parameters:
txId -
Method Detail

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:
return prepared result
Throws:
com.arjuna.wst.WrongStateException
com.arjuna.wst.SystemException

commit

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

rollback

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

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