protected void initFailedJobCommandFactory() { if (failedJobCommandFactory == null) { failedJobCommandFactory = new DefaultFailedJobCommandFactory(); } if (postParseListeners == null) { postParseListeners = new ArrayList<BpmnParseListener>(); } postParseListeners.add(new DefaultFailedJobParseListener()); }
protected void initFailedJobCommandFactory() { if (failedJobCommandFactory == null) { failedJobCommandFactory = new DefaultFailedJobCommandFactory(); } if (postParseListeners == null) { postParseListeners = new ArrayList<BpmnParseListener>(); } postParseListeners.add(new DefaultFailedJobParseListener()); }
protected void initFailedJobCommandFactory() { if (failedJobCommandFactory == null) { failedJobCommandFactory = new DefaultFailedJobCommandFactory(); } if (postParseListeners == null) { postParseListeners = new ArrayList<BpmnParseListener>(); } postParseListeners.add(new DefaultFailedJobParseListener()); }
@Override public void preInit(SpringProcessEngineConfiguration configuration) { if (configuration.getCustomPostBPMNParseListeners() == null) { configuration.setCustomPostBPMNParseListeners(new ArrayList<>()); } configuration.getCustomPostBPMNParseListeners().add(new DefaultFailedJobParseListener()); configuration.setFailedJobCommandFactory(new DefaultFailedJobCommandFactory()); } }
@Override public void preInit(SpringProcessEngineConfiguration configuration) { if (configuration.getCustomPostBPMNParseListeners() == null) { configuration.setCustomPostBPMNParseListeners(new ArrayList<>()); } configuration.getCustomPostBPMNParseListeners().add(new DefaultFailedJobParseListener()); configuration.setFailedJobCommandFactory(new DefaultFailedJobCommandFactory()); } }