Revision 42621
Added by Sandro La Bruzzo almost 8 years ago
DataTransformationController.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.data.transformation.inspector; |
2 | 2 |
|
3 | 3 |
import java.util.List; |
4 |
import javax.annotation.Resource; |
|
5 | 4 |
|
6 | 5 |
import com.google.common.base.Function; |
7 | 6 |
import com.google.common.collect.Lists; |
... | ... | |
11 | 10 |
import eu.dnetlib.enabling.locators.UniqueServiceLocator; |
12 | 11 |
import eu.dnetlib.rmi.enabling.ISLookUpException; |
13 | 12 |
import eu.dnetlib.rmi.enabling.ISLookUpService; |
13 |
import org.springframework.beans.factory.annotation.Autowired; |
|
14 | 14 |
import org.springframework.stereotype.Controller; |
15 | 15 |
import org.springframework.ui.Model; |
16 | 16 |
import org.springframework.web.bind.annotation.RequestMapping; |
... | ... | |
19 | 19 |
@Controller |
20 | 20 |
public class DataTransformationController extends AbstractInspectorController { |
21 | 21 |
|
22 |
@Resource
|
|
22 |
@Autowired
|
|
23 | 23 |
private DataTransformerFactory dataTransformerFactory; |
24 | 24 |
|
25 |
@Resource
|
|
25 |
@Autowired
|
|
26 | 26 |
private UniqueServiceLocator serviceLocator; |
27 | 27 |
|
28 | 28 |
@RequestMapping(value = "/inspector/transform.do") |
Also available in: Unified diff
Chnaged Resource to Autowired