Project

General

Profile

« Previous | Next » 

Revision 42621

Chnaged Resource to Autowired

View differences:

OAISetsCounter.java
2 2

  
3 3
import java.util.List;
4 4
import java.util.concurrent.Callable;
5

  
6 5
import javax.annotation.Resource;
7 6

  
7
import com.google.common.collect.Lists;
8
import eu.dnetlib.oai.sets.MongoSetCollection;
9
import eu.dnetlib.rmi.provision.MDFInfo;
8 10
import org.apache.commons.lang3.StringUtils;
9 11
import org.apache.commons.logging.Log;
10 12
import org.apache.commons.logging.LogFactory;
13
import org.springframework.beans.factory.annotation.Autowired;
11 14

  
12
import com.google.common.collect.Lists;
13

  
14
import eu.dnetlib.oai.sets.MongoSetCollection;
15
import eu.dnetlib.rmi.provision.MDFInfo;
16

  
17 15
/**
18 16
 * Updates the counts for all sets in the special sets collection of OAI store.
19 17
 *
......
25 23

  
26 24
	@Resource(name = "oaiConfigurationExistReader")
27 25
	private OAIConfigurationReader configurationReader;
28
	@Resource
26
	@Autowired
29 27
	private MongoSetCollection mongoSetCollection;
30
	@Resource
28
	@Autowired
31 29
	private OAISetHelper oaiSetHelper;
32 30

  
33 31
	/**

Also available in: Unified diff