-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor/202 : 계층별 클래스 네이밍 변경 (#203)
* ♻️ Refactor: Briefing 도메인 API 모듈 계층 네이밍 변경 * ♻️ Refactor: Member 도메인 API 모듈 계층 네이밍 변경 * ♻️ Refactor: Scrap 도메인 API 모듈 계층 네이밍 변경 * ♻️ Refactor: Adapter 어노테이션 추가 및 기존 Service 어노테이션 대체 * ♻️ Refactor: Business 계층 Service 어노테이션으로 대체 * ♻️ Refactor: 타입 Mapper 클래스들 Private 생성자 추가
- Loading branch information
Showing
25 changed files
with
201 additions
and
170 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
Briefing-Api/src/main/java/com/example/briefingapi/annotation/Adapter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.example.briefingapi.annotation; | ||
|
||
import org.springframework.core.annotation.AliasFor; | ||
import org.springframework.stereotype.Component; | ||
|
||
import java.lang.annotation.*; | ||
|
||
@Target(ElementType.TYPE) | ||
@Retention(RetentionPolicy.RUNTIME) | ||
@Documented | ||
@Component | ||
public @interface Adapter { | ||
// 스프링 빈의 이름을 지정 | ||
@AliasFor(annotation = Component.class) | ||
String value() default ""; | ||
} |
2 changes: 1 addition & 1 deletion
2
...op/annotation/CacheEvictByBriefingId.java → ...pi/annotation/CacheEvictByBriefingId.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
.../aspect/CacheEvictByBriefingIdAspect.java → ...api/aop/CacheEvictByBriefingIdAspect.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...ement/service/BriefingCommandService.java → ...ement/service/BriefingCommandAdapter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.