Revision 42621
Added by Sandro La Bruzzo almost 8 years ago
ValidateDatasourceJobNode.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.msro.workflows.nodes.misc; |
2 | 2 |
|
3 |
import javax.annotation.Resource; |
|
4 |
|
|
5 |
import org.apache.commons.logging.Log; |
|
6 |
import org.apache.commons.logging.LogFactory; |
|
7 |
|
|
8 | 3 |
import eu.dnetlib.enabling.locators.UniqueServiceLocator; |
9 | 4 |
import eu.dnetlib.msro.workflows.graph.Arc; |
10 | 5 |
import eu.dnetlib.msro.workflows.nodes.SimpleJobNode; |
... | ... | |
13 | 8 |
import eu.dnetlib.msro.workflows.procs.WorkflowProcess; |
14 | 9 |
import eu.dnetlib.rmi.enabling.ISRegistryException; |
15 | 10 |
import eu.dnetlib.rmi.enabling.ISRegistryService; |
11 |
import org.apache.commons.logging.Log; |
|
12 |
import org.apache.commons.logging.LogFactory; |
|
13 |
import org.springframework.beans.factory.annotation.Autowired; |
|
16 | 14 |
|
17 | 15 |
public class ValidateDatasourceJobNode extends SimpleJobNode implements ProcessAware { |
18 | 16 |
|
19 | 17 |
private static final Log log = LogFactory.getLog(ValidateDatasourceJobNode.class); |
20 |
@Resource
|
|
18 |
@Autowired
|
|
21 | 19 |
private UniqueServiceLocator serviceLocator; |
22 | 20 |
|
23 | 21 |
private WorkflowProcess process; |
Also available in: Unified diff
Chnaged Resource to Autowired