org.jboss.txbridge.ba.participant
Class CompensationNotifier

java.lang.Object
  extended by org.jboss.txbridge.ba.participant.CompensationNotifier
All Implemented Interfaces:
java.lang.Runnable

public class CompensationNotifier
extends java.lang.Object
implements java.lang.Runnable

CompensationNotifier is started by the participant. Its purpose is to inform the BA Transaction Manager that a given transaction needs to be compensated.

Version:
0.1
Author:
Maciej P. Machulak (mmachulak@redhat.com)

Field Summary
private  BATransactionManager btm
           
private  java.lang.String txId
           
 
Constructor Summary
CompensationNotifier(java.lang.String txId, BATransactionManager btm)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

txId

private java.lang.String txId

btm

private BATransactionManager btm
Constructor Detail

CompensationNotifier

public CompensationNotifier(java.lang.String txId,
                            BATransactionManager btm)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable