public void parseExecutionListenersOnTransition(Element activitiElement, TransitionImpl activity) {
Element extentionsElement = activitiElement.element("extensionElements");
if (extentionsElement != null) {
List<Element> listenerElements = extentionsElement.elementsNS(BpmnParser.ACTIVITI_BPMN_EXTENSIONS_NS, "executionListener");
for (Element listenerElement : listenerElements) {
ExecutionListener listener = parseExecutionListener(listenerElement);
if (listener != null) {
// Since a transition only fires event 'take', we don't parse the
// eventName, it is ignored
activity.addExecutionListener(listener);
}