public ActivityImpl parseParallelGateway ( Element parallelGwElement , ScopeImpl scope ) { ActivityImpl activity = createActivityOnScope ( parallelGwElement , scope ) ; activity . setActivityBehavior ( new ParallelGatewayActivityBehavior ( ) ) ; parseAsynchronousContinuationForActivity ( parallelGwElement , activity ) ; parseExecutionListenersOnScope ( parallelGwElement , activity ) ; for ( BpmnParseListener parseListener : parseListeners ) { parseListener . parseParallelGateway ( parallelGwElement , scope , activity ) ; } return activity ; }
Parses a parallel gateway declaration .