sueleesoossoo's devlog


  • Home

  • Categories

  • About

  • Archives

  • Tags

TIL: [Spring] @ComponentScan & @Import

Posted on 2018-10-05 | 0 comments

ComponentScan

Springboot 내부적으로 @Service, @Repository, @Component, @Controller 등의 bean으로 등록되어있는 아이들을 스캔해서 찾는 역할을 한다.

Import

xml으로 등록된 빈들을 @ImportResource로 해당 xml파일을 등록함으로써 bean을 찾는 역할을 한다.

# TIL
[DB] Connection pool
TIL: [Spring] Springboot Start Project 시 유의할 점
  • Table of Contents
  • Overview
LEESOO

LEESOO

Junior Frontend Developer

341 posts
12 categories
34 tags
RSS
GitHub
  1. 1 ComponentScan
  2. 2 Import
© 2024 LEESOO
Powered by Jekyll
Theme - NexT.Muse