Revision 42621
Added by Sandro La Bruzzo almost 8 years ago
OAIInternalController.java | ||
---|---|---|
7 | 7 |
import java.util.Collection; |
8 | 8 |
import java.util.List; |
9 | 9 |
import java.util.stream.Collectors; |
10 |
import javax.annotation.Resource; |
|
11 | 10 |
import javax.servlet.http.HttpServletRequest; |
12 | 11 |
import javax.servlet.http.HttpServletResponse; |
13 | 12 |
|
... | ... | |
25 | 24 |
import org.apache.commons.io.IOUtils; |
26 | 25 |
import org.apache.commons.logging.Log; |
27 | 26 |
import org.apache.commons.logging.LogFactory; |
27 |
import org.springframework.beans.factory.annotation.Autowired; |
|
28 | 28 |
import org.springframework.stereotype.Controller; |
29 | 29 |
import org.springframework.web.bind.annotation.RequestMapping; |
30 | 30 |
import org.springframework.web.bind.annotation.RequestMethod; |
... | ... | |
36 | 36 |
|
37 | 37 |
private static final Log log = LogFactory.getLog(OAIInternalController.class); // NOPMD by marko on 11/24/08 5:02 PM |
38 | 38 |
|
39 |
@Resource
|
|
39 |
@Autowired
|
|
40 | 40 |
private OAIConfigurationExistReader configuration; |
41 |
@Resource
|
|
41 |
@Autowired
|
|
42 | 42 |
private OAIConfigurationWriter configurationWriter; |
43 | 43 |
|
44 | 44 |
@RequestMapping(value = "/ui/getExportMDFs.do") |
Also available in: Unified diff
Chnaged Resource to Autowired