Interface CompensatingTransactionOperationFactory
- All Known Implementing Classes:
LdapCompensatingTransactionOperationFactory
public interface CompensatingTransactionOperationFactory
Factory interface for creating
CompensatingTransactionOperationRecorder
objects
based on operation method names.- Since:
- 1.2
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateRecordingOperation
(Object resource, String method) Create an appropriateCompensatingTransactionOperationRecorder
instance corresponding to the supplied method name.
-
Method Details
-
createRecordingOperation
Create an appropriateCompensatingTransactionOperationRecorder
instance corresponding to the supplied method name.- Parameters:
resource
- The target transaction resource.method
- the method name to create aCompensatingTransactionOperationRecorder
for.- Returns:
- a new
CompensatingTransactionOperationRecorder
instance.
-