import org.bytesoft.transaction.xa.TransactionXid;
import org.bytesoft.transaction.xa.XidFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class CompensableManagerImpl implements CompensableManager, CompensableBeanFactoryAware {
<BUG>static final Logger logger = LoggerFactory.getLogger(CompensableManagerImpl.class.getSimpleName());
private CompensableBeanFactory beanFactory;</BUG>
private final Map<Thread, Transaction> compensableMap = new ConcurrentHashMap<Thread, Transaction>();
public void associateThread(Transaction transaction) {
this.compensableMap.put(Thread.currentThread(), (CompensableTransaction) transaction);

import org.bytesoft.transaction.xa.TransactionXid;
import org.bytesoft.transaction.xa.XidFactory;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class CompensableManagerImpl implements CompensableManager, CompensableBeanFactoryAware {
static final Logger logger = LoggerFactory.getLogger(CompensableManagerImpl.class);
private CompensableBeanFactory beanFactory;
private final Map<Thread, Transaction> compensableMap = new ConcurrentHashMap<Thread, Transaction>();
public void associateThread(Transaction transaction) {
this.compensableMap.put(Thread.currentThread(), (CompensableTransaction) transaction);
