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