return activity;
}
public ActivityImpl parseEventBasedGateway(Element eventBasedGwElement, Element parentElement, ScopeImpl scope) {
ActivityImpl activity = createActivityOnScope(eventBasedGwElement, scope);
activity.setActivityBehavior(new EventBasedGatewayActivityBehavior());
activity.setScope(true);
parseExecutionListenersOnScope(eventBasedGwElement, activity);
for (BpmnParseListener parseListener : parseListeners) {