카테고리 없음
[Spring]@Cofiguration
키보드발
2022. 9. 30. 16:57
@Bean을 등록하는 클래스에 붙여주는 어노테이션
Configuration (Spring Framework 5.3.23 API)
Specify whether @Bean methods should get proxied in order to enforce bean lifecycle behavior, e.g. to return shared singleton bean instances even in case of direct @Bean method calls in user code. This feature requires method interception, implemented thro
docs.spring.io
https://mangkyu.tistory.com/75
[Spring] 빈 등록을 위한 어노테이션 @Bean, @Configuration, @Component 차이 및 비교 - (1/2)
기존의 Spring MVC에서는 xml을 활용하여 Bean을 등록하고 있었다. 하지만 프로젝트의 규모가 커짐에 따라 사용하는 요소들을 xml에 등록하는 것이 상당히 번거로워 져서 어노테이션(Annotation, @)를 활
mangkyu.tistory.com