Project

General

Profile

« Previous | Next » 

Revision 40096

partial reimplementation of the wf engine

View differences:

NodeHelper.java
1 1
package eu.dnetlib.msro.workflows.graph;
2 2

  
3 3
import eu.dnetlib.msro.rmi.MSROException;
4
import eu.dnetlib.msro.workflows.procs.ProcessAware;
5
import eu.dnetlib.msro.workflows.procs.ProcessNode;
6
import eu.dnetlib.msro.workflows.procs.WorkflowProcess;
4 7
import org.apache.commons.lang.StringUtils;
5 8
import org.apache.commons.logging.Log;
6 9
import org.apache.commons.logging.LogFactory;
......
19 22

  
20 23
	private ApplicationContext applicationContext;
21 24

  
22
	public ProcessNode newProcessNode(final GraphNode node, final Process process) throws MSROException {
25
	public ProcessNode newProcessNode(final GraphNode node, final WorkflowProcess process) throws MSROException {
23 26
		if (StringUtils.isNotBlank(node.getType())) {
24 27
			final ProcessNode pnode = applicationContext.getBean(beanNamePrefix + node.getType(), ProcessNode.class);
25 28

  

Also available in: Unified diff