@Configuration 애노테이션이 붙어 있는 클래스
@Bean 애노테이션 : 메서드 👉 수동 등록 빈@ComponentScan("스캔범위") : 스프링 컨테이너가 생성할 객체의 클래스를 스캔할 범위AnnotationConfigApplicationContext
@Component@Service@Configuration@Controller@RestController@ControllerAdvice@RestControllerAdivce@Aspect@Repository@Autowired@AutoWired 사용하지 않고 의존성 주입@RequiredArgsConstructor 함께 많이 사용final)를 생성자 매개변수에 추가@NonNull사용해서 생성자 매개변수에 추가