Revision 42621
Added by Sandro La Bruzzo almost 8 years ago
AddRepoEntryPointController.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.functionality.modular.ui.repositories.controllers; |
2 | 2 |
|
3 |
import javax.annotation.Resource; |
|
4 | 3 |
import javax.servlet.http.HttpServletRequest; |
5 | 4 |
import javax.servlet.http.HttpServletResponse; |
6 | 5 |
|
... | ... | |
8 | 7 |
import eu.dnetlib.enabling.locators.UniqueServiceLocator; |
9 | 8 |
import eu.dnetlib.functionality.modular.ui.ModuleEntryPoint; |
10 | 9 |
import eu.dnetlib.functionality.modular.ui.repositories.util.RepoUIUtils; |
10 |
import org.springframework.beans.factory.annotation.Autowired; |
|
11 | 11 |
import org.springframework.beans.factory.annotation.Required; |
12 | 12 |
import org.springframework.ui.ModelMap; |
13 | 13 |
|
... | ... | |
18 | 18 |
|
19 | 19 |
private String datasourceTypeVocabulary; |
20 | 20 |
private String datasourceCountryVocabulary; |
21 |
|
|
22 |
@Resource
|
|
21 |
|
|
22 |
@Autowired
|
|
23 | 23 |
private UniqueServiceLocator serviceLocator; |
24 | 24 |
|
25 |
@Resource
|
|
25 |
@Autowired
|
|
26 | 26 |
private RepoUIUtils repoUIUtils; |
27 | 27 |
|
28 | 28 |
@Override |
Also available in: Unified diff
Chnaged Resource to Autowired