public class NullOperationExecutor extends Object implements CompensatingTransactionOperationExecutor
CompensatingTransactionOperationExecutor that performs nothing.| Constructor and Description |
|---|
NullOperationExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
commit()
Commit the operation.
|
void |
performOperation()
Perform the operation.
|
void |
rollback()
Rollback the operation, restoring state of the target as it was before
the operation was performed using the information supplied on creation of
this instance.
|
public void rollback()
CompensatingTransactionOperationExecutorrollback in interface CompensatingTransactionOperationExecutorpublic void commit()
CompensatingTransactionOperationExecutorcommit in interface CompensatingTransactionOperationExecutorpublic void performOperation()
CompensatingTransactionOperationExecutorperformOperation in interface CompensatingTransactionOperationExecutor