code: @Override
      public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
          if (requiresRuntime(context) && !isProfile(context)) {
              context.addStep(new OperationStepHandler() {
                  @Override
                  public void execute(OperationContext context, ModelNode operation) throws OperationFailedException {
                      // make sure the resource exists before executing a runtime operation.
                      // if that's not the case, the operation will report an error with a comprehensive failure
                      // description instead of a subsequent exception (such as a NPE).
                      if (resourceMustExist(context, operation)) {
                          context.readResource(PathAddress.EMPTY_ADDRESS, false);
                      }
                      executeRuntimeStep(context, operation);
                  }
              }, OperationContext.Stage.RUNTIME);
          }
      }
docs: Simply adds a {@link org.jboss.as.controller.OperationContext.Stage#RUNTIME} step that calls
  {@link #executeRuntimeStep(OperationContext, ModelNode)}.
  
  {@inheritDoc}