/**
* Parses a parallel gateway declaration.
*/
public ActivityImpl parseParallelGateway(Element parallelGwElement, ScopeImpl scope) {
ActivityImpl activity = createActivityOnScope(parallelGwElement, scope);
activity.setActivityBehavior(new ParallelGatewayActivityBehavior());
parseAsynchronousContinuation(parallelGwElement, activity);
parseExecutionListenersOnScope(parallelGwElement, activity);