Interface CompensatingTransactionOperationRecorder
- All Known Implementing Classes:
BindOperationRecorder, ModifyAttributesOperationRecorder, NullOperationRecorder, RebindOperationRecorder, RenameOperationRecorder, UnbindOperationRecorder
public interface CompensatingTransactionOperationRecorder
An implementation of this interface is responsible for recording data and supplying a
CompensatingTransactionOperationExecutor to be invoked for execution and
compensating transaction management of the operation. Recording of an operation should
not fail (throwing an Exception), but instead log the result.- Since:
- 1.2
-
Method Summary
Modifier and TypeMethodDescriptionrecordOperation(Object[] args) Record information about the operation performed and return a correspondingCompensatingTransactionOperationExecutorto be used if the operation would need to be rolled back.
-
Method Details
-
recordOperation
Record information about the operation performed and return a correspondingCompensatingTransactionOperationExecutorto be used if the operation would need to be rolled back.- Parameters:
args- The arguments that have been sent to the operation.- Returns:
- A
CompensatingTransactionOperationExecutorto be used if the recorded operation should need to be rolled back.
-