Notice
Recent Posts
Link
Tags
- 데이터베이스
- 문자열
- 스프링부트
- ORM
- 자바
- springboot
- mysql
- 스프링
- AWS
- hibernate
- PYTHON
- Django
- select
- SSL
- spring mvc
- spring security 6
- spring
- @transactional
- Docker
- join
- static
- 프로그래머스
- string
- java
- jpa
- 1차원 배열
- nginx
- DI
- sql
- spring boot
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
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