protected void invoke() { executionListenerInstance.notify(execution); }
((ExecutionListener) executionListener).notify(execution); execution.setEventName(null); execution.setCurrentActivitiListener(null);
protected void invoke() throws Exception { executionListenerInstance.notify(execution); }
protected void invoke() { executionListenerInstance.notify(execution); }
public void execute(InterpretableExecution execution) { ScopeImpl scope = getScope(execution); List<ExecutionListener> exectionListeners = scope.getExecutionListeners(getEventName()); int executionListenerIndex = execution.getExecutionListenerIndex(); if (exectionListeners.size()>executionListenerIndex) { execution.setEventName(getEventName()); execution.setEventSource(scope); ExecutionListener listener = exectionListeners.get(executionListenerIndex); try { listener.notify(execution); } catch (RuntimeException e) { throw e; } catch (Exception e) { throw new PvmException("couldn't execute event listener : "+e.getMessage(), e); } execution.setExecutionListenerIndex(executionListenerIndex+1); execution.performOperation(this); } else { execution.setExecutionListenerIndex(0); execution.setEventName(null); execution.setEventSource(null); eventNotificationsCompleted(execution); } }
((ExecutionListener) executionListener).notify(execution); execution.setEventName(null); execution.setCurrentActivitiListener(null);
ExecutionListener listener = executionListeners.get(executionListenerIndex); try { listener.notify(execution); } catch (RuntimeException e) { throw e;