addCommitStep(context, configurationPersistence);
// Add rollback handler in case rollback is invoked before a commit step is invoked
context.completeStep(new RollbackHandler() {
@Override
public void handleRollback(final OperationContext context, final ModelNode operation) {
configurationPersistence.rollback();
}
});
} else {
context.stepCompleted();
}