org.spicefactory.pimento.transaction
Interface TransactionExecutor

All Known Implementing Classes:
DefaultTransactionExecutor

public interface TransactionExecutor

Interface to be implemented by the service that actually performs the transaction. Implementations of this interface will be used in the default implementation of the TransactionService interface. Since the remote service must execute a few operations before and after the actual transaction, the execute method of this interface is meant to be the transaction boundary for Pimento-managed requests.

Author:
Jens Halm

Method Summary
 void execute(Transaction tx)
          Executes the specified transaction.
 

Method Detail

execute

void execute(Transaction tx)
Executes the specified transaction.

Parameters:
tx - the transaction to execute