public void preInit(ProcessEngineConfigurationImpl processEngineConfiguration) { List<BpmnParseListener> preParseListeners = processEngineConfiguration.getCustomPreBPMNParseListeners(); if(preParseListeners == null) { preParseListeners = new ArrayList<BpmnParseListener>(); processEngineConfiguration.setCustomPreBPMNParseListeners(preParseListeners); } preParseListeners.add(new ProcessApplicationEventParseListener()); }
public void preInit(ProcessEngineConfigurationImpl processEngineConfiguration) { List<BpmnParseListener> preParseListeners = processEngineConfiguration.getCustomPreBPMNParseListeners(); if(preParseListeners == null) { preParseListeners = new ArrayList<BpmnParseListener>(); processEngineConfiguration.setCustomPreBPMNParseListeners(preParseListeners); } preParseListeners.add(new ProcessApplicationEventParseListener()); }
private void addConnectorParseListener(ProcessEngineConfigurationImpl processEngineConfiguration) { List<BpmnParseListener> preParseListeners = processEngineConfiguration.getCustomPreBPMNParseListeners(); if(preParseListeners == null) { preParseListeners = new ArrayList<BpmnParseListener>(); processEngineConfiguration.setCustomPreBPMNParseListeners(preParseListeners); } preParseListeners.add(new ConnectorParseListener()); }
private static List<BpmnParseListener> customPreBPMNParseListeners(final ProcessEngineConfigurationImpl processEngineConfiguration) { if (processEngineConfiguration.getCustomPreBPMNParseListeners() == null) { processEngineConfiguration.setCustomPreBPMNParseListeners(new ArrayList<BpmnParseListener>()); } return processEngineConfiguration.getCustomPreBPMNParseListeners(); }
public void preInit(ProcessEngineConfigurationImpl processEngineConfiguration) { List<BpmnParseListener> preParseListeners = processEngineConfiguration.getCustomPreBPMNParseListeners(); if(preParseListeners == null) { preParseListeners = new ArrayList<BpmnParseListener>(); processEngineConfiguration.setCustomPreBPMNParseListeners(preParseListeners); } preParseListeners.add(new ProcessApplicationEventParseListener()); }