/** * Get the paxml process execution listeners list. * * @param autoCreate * true to create one if not existing yet, false to return null * if not existing yet. * @return the list. */ public List<IExecutionListener> getPaxmlExecutionListeners(boolean autoCreate) { List<IExecutionListener> list = (List<IExecutionListener>) getInternalObject(PrivateKeys.PAXML_LISTENER, true); if (list == null && autoCreate) { list = new ArrayList<IExecutionListener>(); setPaxmlExecutionListeners(list); } return list; }
/** * Get the paxml process execution listeners list. * * @param autoCreate * true to create one if not existing yet, false to return null * if not existing yet. * @return the list. */ public List<IExecutionListener> getPaxmlExecutionListeners(boolean autoCreate) { List<IExecutionListener> list = (List<IExecutionListener>) getInternalObject(PrivateKeys.PAXML_LISTENER, true); if (list == null && autoCreate) { list = new ArrayList<IExecutionListener>(); setPaxmlExecutionListeners(list); } return list; }
context.setPaxmlExecutionListeners(paxmlExecutionListeners); context.setEntityExecutionListeners(entityExecutionListeners); context.setTagExecutionListeners(tagExecutionListeners);
context.setPaxmlExecutionListeners(paxmlExecutionListeners); context.setEntityExecutionListeners(entityExecutionListeners); context.setTagExecutionListeners(tagExecutionListeners);