modules/activiti-engine/src/main/java/org/activiti/engine/impl/bpmn/parser/BpmnParse.java
/**
   * Parses a parallel gateway declaration.
   */
Parses a parallel gateway declaration.
Parses a parallel gateway declaration .
public ActivityImpl createParallelGateway(ParallelGateway gateway, ScopeImpl scope) {
    ActivityImpl activity = createActivityOnScope(gateway, ELEMENT_GATEWAY_PARALLEL, scope);
    activity.setActivityBehavior(activityBehaviorFactory.createParallelGatewayActivityBehavior(gateway));
    createExecutionListenersOnScope(gateway.getExecutionListeners(), activity);
    for (BpmnParseListener parseListener : parseListeners) {
      parseListener.parseParallelGateway(gateway, scope, activity);
    }
    return activity;
  }
public ActivityImpl createParallelGateway ( ParallelGateway gateway , ScopeImpl scope ) { ActivityImpl activity = createActivityOnScope ( gateway , ELEMENT_GATEWAY_PARALLEL , scope ) ; activity . setActivityBehavior ( activityBehaviorFactory . createParallelGatewayActivityBehavior ( gateway ) ) ; createExecutionListenersOnScope ( gateway . getExecutionListeners ( ) , activity ) ; for ( BpmnParseListener parseListener : parseListeners ) { parseListener . parseParallelGateway ( gateway , scope , activity ) ; } return activity ; }
Parses a parallel gateway declaration.
Parses a parallel gateway declaration .