일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- linux
- Web Server
- Spring
- ubuntu
- Oracle
- AWS
- elasticsearch
- jenkins
- redis
- javascript
- Gradle
- tool
- IntelliJ
- jsp
- it
- ReactJS
- devops
- Spring Boot
- Git
- springboot
- JPA
- docker
- Design Patterns
- MySQL
- laravel
- 맛집
- php
- java
- 요리
- db
Archives
- Today
- Total
목록Annotation (1)
아무거나
[Spring Boot] @ComponentScan 이란
@ComponentScan Desc: Stereotype Annotaion이 붙은 Bean들을 자동으로 스캔해서 등록해준다. Stereotype Annotaion(ex: @Component, @Repository, @Service, @Controller 등..)이란 Bean으로 등록하기 위한 Annotation을 뜻함 [Example Code]@ComponentScan("com.bong.myPackage") @ComponentScan(basePackages={"com.bkjeon", "com.bong"}) @ComponentScan({"com.bkjeon", "com.bong"}) @ComponentScan(basePackageClasses=TestCode.class) public interface Te..
Java/Spring
2019. 1. 16. 18:35