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
- LAN어댑터
- 허브
- gradle
- AOP
- post
- Jenkins
- STREAM
- 소켓
- Java
- jdk
- tomcat
- 방화벽
- Linux
- Set
- docker
- IntelliJ
- cloud
- JPA
- Pipeline
- 캐시서버
- mybatis
- Spring
- 라우터
- sonarQube
- DevOps
- container
- ansible
- map
- Collection
- 액세스회선
Archives
- Today
- Total
목록필드 주입 (1)
거북이-https://velog.io/@violet_evgadn 이전완료
DI 주입 실습
생성자 주입 @Component public class UserService { private final MemberService memberService; private final VIPService vipService; @Autowired public UserService(MemberService memberService, VIPService vipService){ this.memberService = memberService; this.vipService = vipService; } public void greet(){ System.out.println("********"); memberService.greeting(); vipService.greeting(); System.out.println("..
웹 개발/Spring(활용)
2022. 8. 4. 14:48