Revision 42621
Added by Sandro La Bruzzo almost 8 years ago
EnsureIndexesAction.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.oai.actions; |
2 | 2 |
|
3 |
import javax.annotation.Resource; |
|
4 |
|
|
5 |
import org.apache.commons.lang3.StringUtils; |
|
6 |
import org.apache.commons.logging.Log; |
|
7 |
import org.apache.commons.logging.LogFactory; |
|
8 |
|
|
9 | 3 |
import eu.dnetlib.enabling.tools.blackboard.BlackboardJob; |
10 | 4 |
import eu.dnetlib.enabling.tools.blackboard.BlackboardServerHandler; |
11 | 5 |
import eu.dnetlib.oai.mongo.MongoPublisherStore; |
12 | 6 |
import eu.dnetlib.oai.mongo.MongoPublisherStoreDAO; |
7 |
import org.apache.commons.lang3.StringUtils; |
|
8 |
import org.apache.commons.logging.Log; |
|
9 |
import org.apache.commons.logging.LogFactory; |
|
10 |
import org.springframework.beans.factory.annotation.Autowired; |
|
13 | 11 |
|
14 | 12 |
public class EnsureIndexesAction extends AbstractOAIStoreAction { |
15 | 13 |
|
16 | 14 |
private static final Log log = LogFactory.getLog(EnsureIndexesAction.class); // NOPMD by marko on 11/24/08 5:02 PM |
17 | 15 |
|
18 |
@Resource
|
|
16 |
@Autowired
|
|
19 | 17 |
private MongoPublisherStoreDAO mongoPublisherStoreDAO; |
20 | 18 |
|
21 | 19 |
@Override |
Also available in: Unified diff
Chnaged Resource to Autowired