code: protected void initializeVariables(ExecutionEntity subProcessInstance, Map<String,Object> variables) {
      subProcessInstance.setVariables(variables);
    }
docs: Allow a subclass to override how variables are initialized.