This commit is contained in:
Redkale
2016-09-02 18:07:04 +08:00
parent 72887106ea
commit f6aa646ea4
2 changed files with 6 additions and 2 deletions

View File

@@ -31,4 +31,5 @@ public @interface RestService {
int module() default 0; //模块ID值鉴权时用到, 对应@WebServlet.module int module() default 0; //模块ID值鉴权时用到, 对应@WebServlet.module
String comment() default ""; //备注描述
} }

View File

@@ -13,7 +13,9 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
* 本地模式注解。 * 本地模式注解。
* 声明为LocalService的Service只能以本地模式存在 即使配置文件中配置成远程模式也将被忽略。 * 声明为LocalService的Service只能以本地模式存在 即使配置文件中配置成远程模式也将被忽略。
* *
* <p> 详情见: http://redkale.org * <p>
* 详情见: http://redkale.org
*
* @author zhangjx * @author zhangjx
*/ */
@Inherited @Inherited
@@ -22,4 +24,5 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
@Retention(RUNTIME) @Retention(RUNTIME)
public @interface LocalService { public @interface LocalService {
String comment() default ""; //备注描述
} }