Project

General

Profile

« Previous | Next » 

Revision 42621

Chnaged Resource to Autowired

View differences:

RetrieveMdStoreId.java
4 4
import java.util.List;
5 5
import java.util.Set;
6 6

  
7
import javax.annotation.Resource;
8

  
9
import org.springframework.beans.factory.annotation.Required;
10

  
11 7
import com.google.common.collect.Lists;
12 8
import com.google.common.collect.Sets;
13 9
import com.google.gson.Gson;
14 10
import com.google.gson.GsonBuilder;
15

  
16 11
import eu.dnetlib.enabling.locators.UniqueServiceLocator;
17 12
import eu.dnetlib.msro.workflows.graph.Arc;
18 13
import eu.dnetlib.msro.workflows.nodes.SimpleJobNode;
19 14
import eu.dnetlib.msro.workflows.procs.Env;
20 15
import eu.dnetlib.rmi.enabling.ISLookUpException;
21 16
import eu.dnetlib.rmi.enabling.ISLookUpService;
17
import org.springframework.beans.factory.annotation.Autowired;
18
import org.springframework.beans.factory.annotation.Required;
22 19

  
23 20
/**
24 21
 * The Class RetrieveMdStoreId is a job node used to retrieve the correct MDStore from which extract the url of the file to download.
......
44 41
	/**
45 42
	 * The service locator.
46 43
	 */
47
	@Resource
44
	@Autowired
48 45
	private UniqueServiceLocator serviceLocator;
49 46

  
50 47
	@Override

Also available in: Unified diff