Revision 42621
Added by Sandro La Bruzzo almost 8 years ago
ProcessEngine.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.msro.workflows.procs; |
2 | 2 |
|
3 |
import java.util.ArrayList; |
|
4 |
import java.util.Arrays; |
|
5 |
import java.util.HashMap; |
|
6 |
import java.util.List; |
|
7 |
import java.util.Map; |
|
3 |
import java.util.*; |
|
8 | 4 |
import java.util.stream.Collectors; |
9 | 5 |
|
10 |
import javax.annotation.Resource; |
|
11 |
|
|
12 |
import org.antlr.stringtemplate.StringTemplate; |
|
13 |
import org.apache.commons.io.IOUtils; |
|
14 |
import org.apache.commons.lang3.StringEscapeUtils; |
|
15 |
import org.apache.commons.lang3.StringUtils; |
|
16 |
import org.apache.commons.logging.Log; |
|
17 |
import org.apache.commons.logging.LogFactory; |
|
18 |
import org.springframework.beans.factory.annotation.Required; |
|
19 |
|
|
20 | 6 |
import com.google.common.base.Throwables; |
21 |
|
|
22 | 7 |
import eu.dnetlib.enabling.locators.UniqueServiceLocator; |
23 | 8 |
import eu.dnetlib.miscutils.datetime.DateUtils; |
24 | 9 |
import eu.dnetlib.msro.logging.DnetLogger; |
... | ... | |
30 | 15 |
import eu.dnetlib.msro.workflows.util.NodeTokenCallback; |
31 | 16 |
import eu.dnetlib.msro.workflows.util.WorkflowsConstants; |
32 | 17 |
import eu.dnetlib.rmi.enabling.ISRegistryService; |
18 |
import org.antlr.stringtemplate.StringTemplate; |
|
19 |
import org.apache.commons.io.IOUtils; |
|
20 |
import org.apache.commons.lang3.StringEscapeUtils; |
|
21 |
import org.apache.commons.lang3.StringUtils; |
|
22 |
import org.apache.commons.logging.Log; |
|
23 |
import org.apache.commons.logging.LogFactory; |
|
24 |
import org.springframework.beans.factory.annotation.Autowired; |
|
25 |
import org.springframework.beans.factory.annotation.Required; |
|
33 | 26 |
|
34 | 27 |
/** |
35 | 28 |
* Created by michele on 26/11/15. |
... | ... | |
38 | 31 |
|
39 | 32 |
private static final Log log = LogFactory.getLog(ProcessEngine.class); |
40 | 33 |
|
41 |
@Resource
|
|
34 |
@Autowired
|
|
42 | 35 |
private UniqueServiceLocator serviceLocator; |
43 | 36 |
|
44 | 37 |
private NodeHelper nodeHelper; |
Also available in: Unified diff
Chnaged Resource to Autowired