com.onewebsql.util.transaction
Interface TransactionOp<T>

Type Parameters:
T - type of object returned by operation

public interface TransactionOp<T>

Defines operation, which is run within transaction managed by TransactionalDataSource.


Method Summary
 T invoke(TransactionalDataSource transactionalDataSource)
          Runs operation.
 

Method Detail

invoke

T invoke(TransactionalDataSource transactionalDataSource)
Runs operation.

Parameters:
transactionalDataSource - transactional data source which manages transaction
Returns:
result of operation


Copyright © 2011-2013 e-point SA. All Rights Reserved.