Notice
Recent Posts
Link
Tags
- ci/cd
- CloudWatch
- hibernate
- @transactional
- nginx
- mysql
- spring mvc
- join
- 문자열
- Docker
- string
- Django
- AWS
- springboot
- PYTHON
- spring security 6
- spring boot
- ORM
- select
- 1차원 배열
- 데이터베이스
- sql
- 자바
- SSL
- 스프링부트
- jpa
- 스프링
- 프로그래머스
- spring
- java
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Archives
목록bean (1)
개발하는 자몽
AnnotationConfigApplicationContext와 static class
인프런 김영한 님의 스프링 인강을 보며 코딩을 하다가 궁금한 점이 생겨서 정리해본다. public class ApplicationContextSameBeanFindTest { AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(SameBeanConfig.class); ... @Configuration static class SameBeanConfig { @Bean public MemberRepository memberRepository() { return new MemoryMemberRepository(); } @Bean public MemberRepository memberRepository2() { return ..
Java & Kotlin/Spring
2022. 8. 3. 15:21