This commit is contained in:
@@ -31,4 +31,5 @@ public @interface RestService {
|
|||||||
|
|
||||||
int module() default 0; //模块ID值,鉴权时用到, 对应@WebServlet.module
|
int module() default 0; //模块ID值,鉴权时用到, 对应@WebServlet.module
|
||||||
|
|
||||||
|
String comment() default ""; //备注描述
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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
|
||||||
@@ -21,5 +23,6 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
|||||||
@Target({TYPE})
|
@Target({TYPE})
|
||||||
@Retention(RUNTIME)
|
@Retention(RUNTIME)
|
||||||
public @interface LocalService {
|
public @interface LocalService {
|
||||||
|
|
||||||
|
String comment() default ""; //备注描述
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user