public void handleException(GraphElement graphElement, ExecutionContext executionContext) throws Exception { if (actions != null) { for (Iterator iter = actions.iterator(); iter.hasNext();) { Action action = (Action) iter.next(); graphElement.executeAction(action, executionContext); } } }
public void handleException(GraphElement graphElement, ExecutionContext executionContext) throws Exception { if (actions != null) { for (Iterator iter = actions.iterator(); iter.hasNext();) { Action action = (Action) iter.next(); graphElement.executeAction(action, executionContext); } } }
private void executeActions(List actions, ExecutionContext executionContext, boolean isPropagated) { if (actions == null) return; for (Iterator iter = actions.iterator(); iter.hasNext();) { Action action = (Action) iter.next(); if (!action.acceptsPropagatedEvents() && isPropagated) continue; if (action.isAsync()) { ExecuteActionJob job = createAsyncActionExecutionJob(executionContext.getToken(), action); MessageService messageService = executionContext.getJbpmContext() .getServices() .getMessageService(); messageService.send(job); } else { executeAction(action, executionContext); } } }
private void executeActions(List actions, ExecutionContext executionContext, boolean isPropagated) { if (actions == null) return; for (Iterator iter = actions.iterator(); iter.hasNext();) { Action action = (Action) iter.next(); if (!action.acceptsPropagatedEvents() && isPropagated) continue; if (action.isAsync()) { ExecuteActionJob job = createAsyncActionExecutionJob(executionContext.getToken(), action); MessageService messageService = executionContext.getJbpmContext() .getServices() .getMessageService(); messageService.send(job); } else { executeAction(action, executionContext); } } }
graphElement.executeAction(action, executionContext);
graphElement.executeAction(action, executionContext);