Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 열공하자
- node.js
- EventSource
- PostgreSQL
- node.js란
- ServerSentEvent
- mariadb
- localStorage
- 파티셔닝
- 개발자
- Partition
- partitioning
- frontend
- 실시간알림
- SSE
- Lag
- Node.js기본
- 성장기
Archives
- Today
- Total
써치킴의 우당탕탕 개발 블로그
[Spring Framework] Bean Scan 본문
-
<context:component-scan base-package="com.allim.*..*.web">
-
일일이 빈등록 x, com.allim.*..*.web 경로를 포함한 모든 하위경로에 적용
-
Annotation 적용한 자바파일들이 빈으로 등록됨
-
-
<context:include-filter type="annotation" expression="org.springframework.stereotype.Service"/>
- @Service가 포함된 annotation 로딩
-
<context:exclude-filter type="annotation" expression="org.springframework.stereotype.Controller"/>
- @Controller를 제외한 annotation만 로딩
'Spring Framework' 카테고리의 다른 글
[Spring Framework] Bean 의존주입 Annotation (0) | 2022.05.16 |
---|---|
[Spring Framework] Bean 등록 Annotation (0) | 2022.05.16 |
[Spring Framework] MyBatis (0) | 2022.05.16 |
[Spring Framework] MVC(모델-뷰-컨트롤러) 패턴 (0) | 2022.05.16 |
[Spring Framework] Spring Framework (0) | 2022.05.16 |
Comments