Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- RDS
- 블록체인
- 웹게임
- websocket
- Ajax
- 배포
- 도커
- SQL
- node.js
- JavaScript
- jQuery
- 알고리즘
- Cookie
- HTML
- Spring
- 암호화
- autowired
- JSP
- express
- 웹소켓
- PL/SQL
- 비트코인
- docker
- Servlet
- tiles.xml
- CSS
- AWS
- model1
- phaser
- EC2
Archives
- Today
- Total
목록Qualifier (1)
記錄
Spring) @Autowired의 활용 ( + @Qualifier 사용)
public class Recorder { } public class MonitorViewer { private Recorder recorder; public Recorder getRecorder() { return recorder; } @Autowired @Qualifier("corder1") // public void setRecorder(Recorder recorder) { this.recorder = recorder; System.out.println("setter 주입 성공"); } @Autowired @Qualifier("corder2") // public void RecorderMethod(Recorder rec) { System.out.println("rec : " + rec); } } p..
Web/Spring framework
2018. 4. 28. 16:47