public interface CompensatingTransactionOperationManager
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Commit all recorded operations.
|
void |
performOperation(Object resource,
String operation,
Object[] args)
Indicates that the supplied operation (method name) is to be performed.
|
void |
rollback()
Rollback all recorded operations by performing each of the recorded
rollback operations.
|
void performOperation(Object resource, String operation, Object[] args)
resource - the target resource to perform the operation on.operation - The method to be invoked.args - Arguments supplied to the method.void rollback()
void commit()