Revision 42621
Added by Sandro La Bruzzo almost 8 years ago
OAIConfigurationStringReader.java | ||
---|---|---|
4 | 4 |
import java.util.List; |
5 | 5 |
import java.util.stream.Collectors; |
6 | 6 |
|
7 |
import javax.annotation.Resource; |
|
8 |
|
|
9 |
import org.apache.commons.logging.Log; |
|
10 |
import org.apache.commons.logging.LogFactory; |
|
11 |
|
|
12 | 7 |
import com.google.common.collect.Lists; |
13 |
|
|
14 | 8 |
import eu.dnetlib.oai.PublisherField; |
15 | 9 |
import eu.dnetlib.oai.info.SetInfo; |
16 | 10 |
import eu.dnetlib.rmi.provision.MDFInfo; |
17 | 11 |
import eu.dnetlib.rmi.provision.OaiPublisherRuntimeException; |
12 |
import org.apache.commons.logging.Log; |
|
13 |
import org.apache.commons.logging.LogFactory; |
|
14 |
import org.springframework.beans.factory.annotation.Autowired; |
|
18 | 15 |
|
19 | 16 |
/** |
20 | 17 |
* Instances of this class reads the OAI configuration from a string, which is the configuration profile passed in as a string. |
... | ... | |
26 | 23 |
private static final Log log = LogFactory.getLog(OAIConfigurationStringReader.class); // NOPMD by marko on 11/24/08 5:02 PM |
27 | 24 |
|
28 | 25 |
private OAIConfiguration oaiConfiguration; |
29 |
@Resource
|
|
26 |
@Autowired
|
|
30 | 27 |
private OAIConfigurationParser configurationParser; |
31 | 28 |
|
32 | 29 |
public OAIConfigurationStringReader() { |
Also available in: Unified diff
Chnaged Resource to Autowired