Skip to content

Commit

Permalink
移除 ScxComponent (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
scx567888 authored Aug 26, 2024
1 parent 4f655b1 commit 8082852
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 21 deletions.
3 changes: 1 addition & 2 deletions scx-core/src/main/java/cool/scx/core/ScxHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import cool.scx.config.handler.AppRootHandler;
import cool.scx.config.handler.ConvertValueHandler;
import cool.scx.config.handler.DefaultValueHandler;
import cool.scx.core.annotation.ScxComponent;
import cool.scx.core.annotation.ScxService;
import cool.scx.core.base.BaseModel;
import cool.scx.core.base.BaseModelService;
Expand Down Expand Up @@ -66,7 +65,7 @@ public final class ScxHelper {
*/
private static final List<Class<? extends Annotation>> beanFilterAnnotation = List.of(
//scx 注解
ScxComponent.class, ScxRoute.class, Table.class, ScxService.class, ScxWebSocketRoute.class,
ScxRoute.class, Table.class, ScxService.class, ScxWebSocketRoute.class,
//兼容 spring 注解
Component.class, Controller.class, Service.class, Repository.class);

Expand Down
18 changes: 0 additions & 18 deletions scx-core/src/main/java/cool/scx/core/annotation/ScxComponent.java

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import java.lang.annotation.Target;

/**
* 标注此类是一个 Service 层映射
* 标识此类是一个需要注入到容器中的类
*
* @author scx567888
* @version 0.3.6
Expand Down

0 comments on commit 8082852

Please sign in to comment.