hu.netmind.beankeeper
Interface TransactionTracker


public interface TransactionTracker

This service is responsible for keeping track of transactions currently running in the system.


Field Summary
static int TX_NEW
           
static int TX_OPTIONAL
           
static int TX_REQUIRED
           
 
Method Summary
 Transaction getTransaction(int mode)
          Get a transaction.
 boolean hasTransaction(java.lang.Long serial)
          Determines whether the given transaction is a valid open transaction in this tracker or not.
 

Field Detail

TX_REQUIRED

static final int TX_REQUIRED
See Also:
Constant Field Values

TX_NEW

static final int TX_NEW
See Also:
Constant Field Values

TX_OPTIONAL

static final int TX_OPTIONAL
See Also:
Constant Field Values
Method Detail

getTransaction

Transaction getTransaction(int mode)
Get a transaction. Following modes are supported: Note, that each transaction can support multiple levels of begin-commit blocks. Each transaction only commits/rollsback is the most outer block is commited/rolled back.


hasTransaction

boolean hasTransaction(java.lang.Long serial)
Determines whether the given transaction is a valid open transaction in this tracker or not.