Interface CompensatingTransactionOperationRecorder
-
- All Known Implementing Classes:
BindOperationRecorder,ModifyAttributesOperationRecorder,NullOperationRecorder,RebindOperationRecorder,RenameOperationRecorder,UnbindOperationRecorder
public interface CompensatingTransactionOperationRecorderAn implementation of this interface is responsible for recording data and supplying aCompensatingTransactionOperationExecutorto 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompensatingTransactionOperationExecutorrecordOperation(java.lang.Object[] args)Record information about the operation performed and return a correspondingCompensatingTransactionOperationExecutorto be used if the operation would need to be rolled back.
-
-
-
Method Detail
-
recordOperation
CompensatingTransactionOperationExecutor recordOperation(java.lang.Object[] args)
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.
-
-