@Override public void runBatch(List<WorkflowInstanceDescr<?>> wfInstanceDescr) throws CopperException { for (WorkflowInstanceDescr<?> wfInstanceDesc : wfInstanceDescr) { monitoringDataCollector.submitAdapterWfLaunch(wfInstanceDesc.getWfName(), adapter); } processingEngine.runBatch(wfInstanceDescr); }
@Override @Deprecated public void notify(Response<?> response) throws CopperRuntimeException { monitoringDataCollector.submitAdapterWfNotify( response.getCorrelationId(), response.getResponse(), adapter); processingEngine.notify(response); }
@Override public void run(String wfname, Object data) throws CopperException { monitoringDataCollector.submitAdapterWfLaunch(wfname, adapter); processingEngine.run(wfname, data); }
@Override public String createUUID() { return processingEngine.createUUID(); }
@Override public void registerCallbacks( Workflow<?> w, WaitMode mode, long timeoutMsec, String... correlationIds) throws CopperRuntimeException { processingEngine.registerCallbacks(w, mode, timeoutMsec, correlationIds); }
@Override public void addShutdownObserver(Runnable observer) { processingEngine.addShutdownObserver(observer); }
@Override public void shutdown() throws CopperRuntimeException { processingEngine.shutdown(); }
@Override public void startup() throws CopperRuntimeException { processingEngine.startup(); }
@Override public void addWaitHook(String wfInstanceId, WaitHook waitHook) { processingEngine.addWaitHook(wfInstanceId, waitHook); }
@Override public String getEngineId() { return processingEngine.getEngineId(); }
@Override public EngineState getEngineState() { return processingEngine.getEngineState(); }