Package cn.mapway.server
Interface IServerPlugin
-
public interface IServerPlugin服务器端模块
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringauthor()voiddestroy(IServerContext context)注销模块StringgetName()List<Class>getTableClasses()获取数据库表的定义voidinit(IServerContext context)初始化模块IUserInforequestUser()服务插件获取当前请求的用户信息Stringversion()
-
-
-
Method Detail
-
getName
String getName()
-
version
String version()
-
author
String author()
-
init
void init(IServerContext context)
初始化模块- Parameters:
context-
-
destroy
void destroy(IServerContext context)
注销模块- Parameters:
context-
-
requestUser
IUserInfo requestUser()
服务插件获取当前请求的用户信息- Returns:
-
-