Class NullOperationRecorder
- java.lang.Object
-
- org.springframework.ldap.transaction.compensating.NullOperationRecorder
-
- All Implemented Interfaces:
CompensatingTransactionOperationRecorder
public class NullOperationRecorder extends java.lang.Object implements CompensatingTransactionOperationRecorder
ACompensatingTransactionOperationRecorderperforming nothing, returning aNullOperationExecutorregardless of the input. Instances of this class will be created if theCompensatingTransactionOperationManagercannot determine any appropriateCompensatingTransactionOperationRecorderfor the current operation.- Since:
- 1.2
-
-
Constructor Summary
Constructors Constructor Description NullOperationRecorder()
-
Method Summary
All Methods Instance Methods Concrete 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
public CompensatingTransactionOperationExecutor recordOperation(java.lang.Object[] args)
Description copied from interface:CompensatingTransactionOperationRecorderRecord information about the operation performed and return a correspondingCompensatingTransactionOperationExecutorto be used if the operation would need to be rolled back.- Specified by:
recordOperationin interfaceCompensatingTransactionOperationRecorder- 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.
-
-