public interface CompensatingTransactionOperationManager
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Commit all recorded operations.
|
void |
performOperation(java.lang.Object resource,
java.lang.String operation,
java.lang.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(java.lang.Object resource,
java.lang.String operation,
java.lang.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()