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