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 |
Tags
- mysql
- html
- 배열
- string
- MVC
- db
- Thymeleaf
- Board
- jsp
- 문자열
- API
- Database
- SpringBoot
- 이클립스
- 상속
- Controller
- JDBC
- Scanner
- View
- Uipath
- Oracle
- Java
- rpa
- 자료구조
- spring
- jquery
- React
- Eclipse
- 조건문
- Array
Archives
- Today
- Total
목록bean (1)
유정잉

▶▷ 이전 시간에는 AppConfig를 사용해서 직접 조회했지만, 지금부터는 스프링 컨테이너를 통해서 필요한 스프링 빈(=객체)를 찾는다. applicationContext.getBean() 메서드를 사용해서 찾을 수 있다. 1) AppConfig 클래스에 애플리케이션 설정 정보를 @Configuration 설정, 각 메서드에 @Bean 설정 -> 스프링 컨테이너에 등록 됨package hello.core;import hello.core.discount.DiscountPolicy;import hello.core.discount.FixDiscountPolicy;import hello.core.discount.RateDiscountPolicy;import hello.core.member.Membe..
개발자 공부/🎀 스프링 공부
2024. 5. 24. 14:21