Revision 42621
Added by Sandro La Bruzzo almost 8 years ago
VocabularyRegistry.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.data.collective.transformation; |
2 | 2 |
|
3 |
import javax.annotation.Resource; |
|
4 |
|
|
5 | 3 |
import eu.dnetlib.data.collective.transformation.engine.functions.DateVocabulary; |
6 | 4 |
import eu.dnetlib.data.collective.transformation.engine.functions.IVocabulary; |
7 | 5 |
import eu.dnetlib.data.collective.transformation.engine.functions.PersonVocabulary; |
... | ... | |
12 | 10 |
import org.apache.commons.logging.Log; |
13 | 11 |
import org.apache.commons.logging.LogFactory; |
14 | 12 |
import org.dom4j.DocumentException; |
13 |
import org.springframework.beans.factory.annotation.Autowired; |
|
15 | 14 |
|
16 | 15 |
/** |
17 | 16 |
* @author jochen |
... | ... | |
23 | 22 |
// private static final String pmcVocabularyName = "PMC"; |
24 | 23 |
private static final String personVocabularyName = "Person"; |
25 | 24 |
|
26 |
@Resource
|
|
25 |
@Autowired
|
|
27 | 26 |
private DefaultUniqueServiceLocator uniqueServiceLocator; |
28 | 27 |
private VocabularyMap vocabularies; |
29 | 28 |
private boolean isInitialized = false; |
Also available in: Unified diff
Chnaged Resource to Autowired