Project

General

Profile

« Previous | Next » 

Revision 42621

Chnaged Resource to Autowired

View differences:

DatasourceManagerServiceImpl.java
4 4
import java.text.ParseException;
5 5
import java.util.*;
6 6
import java.util.stream.Collectors;
7
import javax.annotation.Resource;
8 7

  
9 8
import com.google.common.collect.Sets;
10 9
import eu.dnetlib.enabling.locators.UniqueServiceLocator;
......
23 22
import org.dom4j.Node;
24 23
import org.dom4j.io.SAXReader;
25 24
import org.quartz.CronExpression;
25
import org.springframework.beans.factory.annotation.Autowired;
26 26
import org.springframework.beans.factory.annotation.Required;
27 27
import org.springframework.core.io.ClassPathResource;
28 28

  
......
41 41
	private ClassPathResource findReposMapQuery = new ClassPathResource("/eu/dnetlib/enabling/datasources/templates/findReposMap.xquery");
42 42
	private ClassPathResource simpleFindReposQueryTmpl = new ClassPathResource("/eu/dnetlib/enabling/datasources/templates/simpleFindRepos.xquery.st");
43 43

  
44
	@Resource
44
	@Autowired
45 45
	private UniqueServiceLocator serviceLocator;
46 46

  
47 47
	private String fixDsId(final String dsId) throws DatasourceManagerServiceException {

Also available in: Unified diff