component-scan

빈을 등록하지 않아도 됨

 

annotation-config

빈이 등록되어 있어야함

등록되어 있는 빈에 대해서만 어노테이션이 활성화됨.

+ Recent posts