Revision 42621
Added by Sandro La Bruzzo almost 8 years ago
ProcessFactory.java | ||
---|---|---|
4 | 4 |
import java.util.Date; |
5 | 5 |
import java.util.Map; |
6 | 6 |
|
7 |
import javax.annotation.Resource; |
|
8 |
|
|
9 |
import org.apache.commons.lang3.StringUtils; |
|
10 |
import org.apache.commons.logging.Log; |
|
11 |
import org.apache.commons.logging.LogFactory; |
|
12 |
|
|
13 | 7 |
import eu.dnetlib.enabling.locators.UniqueServiceLocator; |
14 | 8 |
import eu.dnetlib.msro.workflows.graph.Graph; |
15 | 9 |
import eu.dnetlib.msro.workflows.util.ProcessCallback; |
16 | 10 |
import eu.dnetlib.rmi.enabling.ISLookUpService; |
17 | 11 |
import eu.dnetlib.rmi.manager.MSROException; |
12 |
import org.apache.commons.lang3.StringUtils; |
|
13 |
import org.apache.commons.logging.Log; |
|
14 |
import org.apache.commons.logging.LogFactory; |
|
15 |
import org.springframework.beans.factory.annotation.Autowired; |
|
18 | 16 |
|
19 | 17 |
/** |
20 | 18 |
* Created by michele on 25/11/15. |
... | ... | |
25 | 23 |
|
26 | 24 |
private String oldGeneratedId = ""; |
27 | 25 |
|
28 |
@Resource
|
|
26 |
@Autowired
|
|
29 | 27 |
private UniqueServiceLocator serviceLocator; |
30 | 28 |
|
31 | 29 |
public WorkflowProcess newProcess(final String name, |
Also available in: Unified diff
Chnaged Resource to Autowired