ehcache

net.sf.ehcache.transaction.xa
Class TransactionXARequestProcessor

java.lang.Object
  extended by net.sf.ehcache.transaction.xa.TransactionXARequestProcessor
All Implemented Interfaces:
XARequestProcessor

public class TransactionXARequestProcessor
extends java.lang.Object
implements XARequestProcessor

Default implementation for TransactionXARequestProcessor. This class ties an Xid to an Executor service. This is necessary so that locking for 2pc by the same thread. xaRequestProcessor.

Author:
Nabib El-Rahman

Constructor Summary
TransactionXARequestProcessor(EhcacheXAResourceImpl resourceImpl)
          Constructor
 
Method Summary
 int process(XARequest request)
          Process the XAResource method to another thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionXARequestProcessor

public TransactionXARequestProcessor(EhcacheXAResourceImpl resourceImpl)
Constructor

Parameters:
resourceImpl -
Method Detail

process

public int process(XARequest request)
            throws javax.transaction.xa.XAException
Process the XAResource method to another thread.

Specified by:
process in interface XARequestProcessor
Returns:
Throws:
javax.transaction.xa.XAException

ehcache

true