- Type Parameters:
T- the return type of this work.
public interface TransactionCallback<T>
Callback that executes operations in a given
TransactionContext.-
Method Summary
Modifier and TypeMethodDescriptionexecute(TransactionContext context) Executes all given operations in the same transaction context.
-
Method Details
-
execute
Executes all given operations in the same transaction context.- Parameters:
context- the transaction context to use.- Returns:
- result object or
nullif none.
-