use of org.pentaho.di.trans.dataservice.execution.DefaultTransWiring in project pdi-dataservice-server-plugin by pentaho.
the class DataServiceExecutor method prepareExecution.
protected void prepareExecution() throws KettleException {
// Setup executor with streaming execution plan
ImmutableMultimap.Builder<ExecutionPoint, Runnable> builder = ImmutableMultimap.builder();
builder.putAll(ExecutionPoint.PREPARE, new CopyParameters(parameters, serviceTrans), new PrepareExecution(serviceTrans));
if (!service.isStreaming()) {
builder.put(ExecutionPoint.PREPARE, new PrepareExecution(genTrans));
builder.putAll(ExecutionPoint.READY, new DefaultTransWiring(this));
builder.putAll(ExecutionPoint.START, new TransStarter(genTrans), new TransStarter(serviceTrans));
}
listenerMap.putAll(builder.build());
}
Aggregations