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()
CompensatingTransactionOperationExecutor
rollback
in interface CompensatingTransactionOperationExecutor
public void commit()
CompensatingTransactionOperationExecutor
commit
in interface CompensatingTransactionOperationExecutor
public void performOperation()
CompensatingTransactionOperationExecutor
performOperation
in interface CompensatingTransactionOperationExecutor