code: public void execute(final OperationContext context, final ModelNode operation) throws OperationFailedException {
          final Resource resource = createResource(context, operation);
          populateModel(context, operation, resource);
          recordCapabilitiesAndRequirements(context, operation, resource);
          //verify model for alternatives & requires
          if (requiresRuntime(context)) {
              context.addStep(new OperationStepHandler() {
                  public void execute(final OperationContext context, final ModelNode operation) throws OperationFailedException {
                      performRuntime(context, operation, resource);
  
                      context.completeStep(new OperationContext.RollbackHandler() {
                          @Override
                          public void handleRollback(OperationContext context, ModelNode operation) {
                              rollbackRuntime(context, operation, resource);
                          }
                      });
                  }
              }, OperationContext.Stage.RUNTIME);
          }
      }
docs: {@inheritDoc