Revision 42621
Added by Sandro La Bruzzo almost 8 years ago
DownloadIntoObjectStoreAction.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.data.objectstore; |
2 | 2 |
|
3 | 3 |
import java.util.List; |
4 |
import javax.annotation.Resource; |
|
5 | 4 |
|
6 | 5 |
import com.google.gson.Gson; |
7 | 6 |
import com.google.gson.reflect.TypeToken; |
... | ... | |
13 | 12 |
import org.apache.commons.lang3.StringUtils; |
14 | 13 |
import org.apache.commons.logging.Log; |
15 | 14 |
import org.apache.commons.logging.LogFactory; |
15 |
import org.springframework.beans.factory.annotation.Autowired; |
|
16 | 16 |
|
17 | 17 |
/** |
18 | 18 |
* Created by sandro on 4/6/16. |
... | ... | |
24 | 24 |
private static final Log log = LogFactory.getLog(DownloadIntoObjectStoreAction.class); |
25 | 25 |
private static String DEFAULT_NUMBER_OF_THREAD = "5"; |
26 | 26 |
private static int DEFAULT_TIMEOUT_MS = 5000; |
27 |
@Resource
|
|
27 |
@Autowired
|
|
28 | 28 |
private DownloadServiceFeeder downloadServiceFeeder; |
29 | 29 |
|
30 | 30 |
@Override |
Also available in: Unified diff
Chnaged Resource to Autowired