Revision 42621
Added by Sandro La Bruzzo almost 8 years ago
OAIStoreServiceImpl.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import javax.annotation.Resource; |
4 | 4 |
|
5 |
import org.springframework.beans.factory.annotation.Autowired; |
|
6 |
import org.springframework.beans.factory.annotation.Required; |
|
7 |
|
|
8 | 5 |
import eu.dnetlib.enabling.resultset.client.ResultSetClient; |
9 | 6 |
import eu.dnetlib.enabling.tools.AbstractBaseService; |
10 | 7 |
import eu.dnetlib.enabling.tools.blackboard.NotificationHandler; |
... | ... | |
16 | 13 |
import eu.dnetlib.rmi.common.ResultSet; |
17 | 14 |
import eu.dnetlib.rmi.provision.MDFInfo; |
18 | 15 |
import eu.dnetlib.rmi.provision.OAIStoreService; |
16 |
import org.springframework.beans.factory.annotation.Autowired; |
|
17 |
import org.springframework.beans.factory.annotation.Required; |
|
19 | 18 |
|
20 | 19 |
public class OAIStoreServiceImpl extends AbstractBaseService implements OAIStoreService { |
21 | 20 |
|
... | ... | |
24 | 23 |
*/ |
25 | 24 |
private NotificationHandler notificationHandler; |
26 | 25 |
|
27 |
@Resource
|
|
26 |
@Autowired
|
|
28 | 27 |
private MongoPublisherStoreDAO mongoPublisherStoreDAO; |
29 |
@Resource
|
|
28 |
@Autowired
|
|
30 | 29 |
private OAIStoreSynchronizer synchronizer; |
31 | 30 |
@Resource(name = "oaiSetsCounter") |
32 | 31 |
private OAISetsCounter setsCounter; |
Also available in: Unified diff
Chnaged Resource to Autowired