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
- vanilla js image slider
- SpringBootApplication
- github action
- java hashCode
- github CI
- image slider
- Spring Aspect
- github action codedeploy
- github ec2 deploy
- java 비동기처리
- hashcode override
- github deploy
- AWS Codedeploy
- java CompletableFuture
- Java
- javascript image slider
- stream groupingby
- Java Wrapper Class
- 코드포스
- equals
- c++ 빌드
- github CI/CD
- kotest
- java stream api
- Github action deploy
- equals override
- lombok Builder
- Java lombok
- AliasFor
- list remove
Archives
- Today
- Total
목록AliasFor (1)
기록창고
@Controller, @Service 의 차이? (@Aliasfor)
@Controller 와 @Service 의 차이는 무엇일까? 스프링 부트에서 어노테이션으로 @Controller 와 @Service가 붙는다. 차이는 ..? 어노테이션의 소스를 보면 이름만 다르고 코드는 똑같다. 그래서 service 에 controller 붙여도 되긴 된다. Service 어노테이션 @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Documented @Component public @interface Service { @AliasFor(annotation = Component.class) String value() default ""; } Controller 어노테이션 @Target({ElementType.TYPE})..
Spring
2020. 7. 1. 18:55