> For the complete documentation index, see [llms.txt](https://byulseop-til.gitbook.io/sinheeseop_til/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://byulseop-til.gitbook.io/sinheeseop_til/spring/core/injection.md).

# DependencyInjection

Spring 프레임워크의 핵심 기능 중 하나인 의존성 주입(DI)에 대한 학습 내용을 정리한 섹션입니다.

## 주요 내용

* [필드 주입과 테스트 이슈](/sinheeseop_til/spring/core/injection/fieldinjectionandtestissues.md) - @Autowired 필드 주입의 문제점과 테스트에서의 활용 방안
* (추가 예정)

## 의존성 주입 유형

Spring에서는 다음과 같은 다양한 의존성 주입 방식을 제공합니다:

1. 생성자 주입 (Constructor Injection)
2. 수정자 주입 (Setter Injection)
3. 필드 주입 (Field Injection)
4. 메서드 주입 (Method Injection)

각 방식의 장단점과 적절한 사용 시점에 대해 이 섹션에서 다룹니다.
