Class LdapCompensatingTransactionOperationFactory
java.lang.Object
org.springframework.ldap.transaction.compensating.LdapCompensatingTransactionOperationFactory
- All Implemented Interfaces:
CompensatingTransactionOperationFactory
public class LdapCompensatingTransactionOperationFactory
extends Object
implements CompensatingTransactionOperationFactory
CompensatingTransactionOperationRecorder
implementation for LDAP operations.- Since:
- 1.2
-
Constructor Summary
ConstructorDescriptionLdapCompensatingTransactionOperationFactory
(TempEntryRenamingStrategy renamingStrategy) Constructor. -
Method Summary
Modifier and TypeMethodDescriptioncreateRecordingOperation
(Object resource, String operation) Create an appropriateCompensatingTransactionOperationRecorder
instance corresponding to the supplied method name.
-
Constructor Details
-
LdapCompensatingTransactionOperationFactory
Constructor.- Parameters:
renamingStrategy
- theTempEntryRenamingStrategy
to supply to relevant operations.
-
-
Method Details
-
createRecordingOperation
public CompensatingTransactionOperationRecorder createRecordingOperation(Object resource, String operation) Description copied from interface:CompensatingTransactionOperationFactory
Create an appropriateCompensatingTransactionOperationRecorder
instance corresponding to the supplied method name.- Specified by:
createRecordingOperation
in interfaceCompensatingTransactionOperationFactory
- Parameters:
resource
- The target transaction resource.operation
- the method name to create aCompensatingTransactionOperationRecorder
for.- Returns:
- a new
CompensatingTransactionOperationRecorder
instance.
-