스프링 @자동 배선 속성 대 세터 속성에 대한 주석 @Autowired 또는 세터에서 수행하는 것의 차이점은 무엇입니까? 제가 알기로는 둘 다 같은 결과를 가지고 있는 것으로 알고 있는데, 둘 중에 하나를 사용해야 할 이유가 있나요? UPDATE(간단히 말하면) 이것과 다른 점이 있습니까? package com.tutorialspoint; import org.springframework.beans.factory.annotation.Autowired; public class TextEditor { private SpellChecker spellChecker; @Autowired public void setSpellChecker( SpellChecker spellChecker ){ this.spellChec..