Revision 42621
Added by Sandro La Bruzzo almost 8 years ago
VocabularyDAO.java | ||
---|---|---|
2 | 2 |
|
3 | 3 |
import java.util.List; |
4 | 4 |
|
5 |
import javax.annotation.Resource; |
|
6 |
|
|
7 | 5 |
import eu.dnetlib.enabling.locators.UniqueServiceLocator; |
8 | 6 |
import eu.dnetlib.functionality.modular.ui.vocabularies.model.Term; |
9 | 7 |
import eu.dnetlib.functionality.modular.ui.vocabularies.model.Vocabulary; |
8 |
import org.springframework.beans.factory.annotation.Autowired; |
|
10 | 9 |
|
11 | 10 |
public abstract class VocabularyDAO { |
12 | 11 |
|
13 |
@Resource
|
|
12 |
@Autowired
|
|
14 | 13 |
protected UniqueServiceLocator serviceLocator; |
15 | 14 |
|
16 | 15 |
public abstract List<Vocabulary> getVocabularies() throws VocabularyException; |
Also available in: Unified diff
Chnaged Resource to Autowired