This commit is contained in:
wentch
2016-01-08 12:40:19 +08:00
parent e3080ea872
commit 6f4f92deb2

View File

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