code: public WorkItemHandler build(ProcessRuntime processRuntime, RuntimeManager runtimeManager) {
          WorkItemHandler workItemHandler = construct(processRuntime, runtimeManager);
          if (workItemHandler instanceof SwitchYardServiceTaskHandler) {
              SwitchYardServiceTaskHandler systh = (SwitchYardServiceTaskHandler)workItemHandler;
              systh.setComponentName(_componentName);
              systh.setInvoker(new SwitchYardServiceInvoker(getServiceDomain(), _targetNamespace));
              systh.setProcessRuntime(processRuntime);
          }
          return workItemHandler;
      }
docs: Builds a WorkItemHandler.
  
  @param processRuntime processRuntime
  @param runtimeManager runtimeManager
  @return a WorkItemHandler