📌 @SpringBoot
@Configuration , @EnableAutoConfiguration, @ComponentScan 3개를 하나로 합친 것.
- @Configuration : 해당 클래스가 설정 파일임을 알려준다.
- @EnableAutoConfiguration : 스프링의 다양한 설정이 자동으로 구성되고 완료된다.
- @ComponentScan : 자동으로 Component class들을 검색해서 컴포넌트와 빈 클래스들을 Spring Application Context에 등록한다.
https://cceeun.tistory.com/183
https://mkil.tistory.com/456
'CS > 📌 뭉터기들' 카테고리의 다른 글
임원면접 준비 팁 모음 (0) | 2022.05.30 |
---|---|
Bootstrap 강좌 (0) | 2021.11.10 |
빌드관리 tool - Maven vs Gradle (0) | 2021.10.20 |
[10분 테코톡] Spring AOP (0) | 2021.10.01 |
우테코 - Transaction (0) | 2021.08.06 |
댓글