Project

General

Profile

« Previous | Next » 

Revision 42621

Chnaged Resource to Autowired

View differences:

AbstractMDStoreAction.java
2 2

  
3 3
import java.util.concurrent.Executor;
4 4
import java.util.concurrent.Executors;
5
import javax.annotation.Resource;
6 5

  
7 6
import eu.dnetlib.data.mdstore.modular.connector.MDStoreDao;
8 7
import eu.dnetlib.enabling.locators.UniqueServiceLocator;
......
15 14
import org.apache.commons.io.IOUtils;
16 15
import org.apache.commons.logging.Log;
17 16
import org.apache.commons.logging.LogFactory;
17
import org.springframework.beans.factory.annotation.Autowired;
18 18
import org.springframework.core.io.ClassPathResource;
19 19

  
20 20
/**
......
32 32
	 * The executor.
33 33
	 */
34 34
	private final Executor executor = Executors.newCachedThreadPool();
35
	@Resource
35
	@Autowired
36 36
	private UniqueServiceLocator serviceLocator;
37 37
	/**
38 38
	 * The dao.

Also available in: Unified diff