This commit is contained in:
@@ -10,8 +10,13 @@ import static java.lang.annotation.ElementType.TYPE;
|
|||||||
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* <blockquote><pre>
|
||||||
* Service的资源类型
|
* Service的资源类型
|
||||||
*
|
* 业务逻辑的Service通常有两种编写方式:
|
||||||
|
* 1、只写一个Service实现类。
|
||||||
|
* 2、先定义业务的Service接口或抽象类,再编写具体实现类。
|
||||||
|
* @ServiceType用于第二种方式, 在具体实现类上需要使用@ServiceType指明资源注入的类型。
|
||||||
|
* </pre></blockquote>
|
||||||
* <p>
|
* <p>
|
||||||
* 详情见: http://www.redkale.org
|
* 详情见: http://www.redkale.org
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user