Project

General

Profile

« Previous | Next » 

Revision 42621

Chnaged Resource to Autowired

View differences:

PrepareOaiDataJobNode.java
1 1
package eu.dnetlib.msro.workflows.nodes.oai;
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.locators.UniqueServiceLocator;
9 4
import eu.dnetlib.miscutils.datetime.DateUtils;
10 5
import eu.dnetlib.msro.workflows.graph.Arc;
......
12 7
import eu.dnetlib.msro.workflows.procs.Env;
13 8
import eu.dnetlib.rmi.enabling.ISLookUpService;
14 9
import eu.dnetlib.rmi.manager.MSROException;
10
import org.apache.commons.logging.Log;
11
import org.apache.commons.logging.LogFactory;
12
import org.springframework.beans.factory.annotation.Autowired;
15 13

  
16 14
/**
17 15
 * The Class PrepareOaiDataJobNode.
......
22 20
	private static final Log log = LogFactory.getLog(PrepareOaiDataJobNode.class); // NOPMD by marko on 11/24/08 5:02 PM
23 21

  
24 22
	/** The service locator. */
25
	@Resource
23
	@Autowired
26 24
	private UniqueServiceLocator serviceLocator;
27 25

  
28 26
	/** Target mongo oai store collection name. **/

Also available in: Unified diff