Spring LDAP

org.springframework.transaction.compensating
Interface CompensatingTransactionOperationFactory

All Known Implementing Classes:
LdapCompensatingTransactionOperationFactory

public interface CompensatingTransactionOperationFactory

Factory interface for creating CompensatingTransactionOperationRecorder objects based on operation method names.

Since:
1.2
Author:
Mattias Hellborg Arthursson
See Also:
DefaultCompensatingTransactionOperationManager

Method Summary
 CompensatingTransactionOperationRecorder createRecordingOperation(Object resource, String method)
          Create an appropriate CompensatingTransactionOperationRecorder instance corresponding to the supplied method name.
 

Method Detail

createRecordingOperation

CompensatingTransactionOperationRecorder createRecordingOperation(Object resource,
                                                                  String method)
Create an appropriate CompensatingTransactionOperationRecorder instance corresponding to the supplied method name.

Parameters:
resource - The target transaction resource.
method - the method name to create a CompensatingTransactionOperationRecorder for.
Returns:
a new CompensatingTransactionOperationRecorder instance.

Spring LDAP