public interface Module
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
销毁
|
<R,T> T |
doAction(String actionName,
R actionRequest)
查找处理请求的Action
|
<R,T> Action<R,T> |
getAction(String actionName)
查找处理请求的Action
|
Map<String,Action> |
getActions()
获取全部的Action
|
ClassLoader |
getChildClassLoader()
获取spring上下
|
Date |
getCreation()
模块的创建时间
|
ModuleConfig |
getModuleConfig()
获取模块配置
|
String |
getName()
模块名
|
String |
getVersion()
模块版本号
|
<R,T> Action<R,T> getAction(String actionName)
actionName - <R,T> T doAction(String actionName, R actionRequest)
actionName - actionRequest - String getName()
String getVersion()
Date getCreation()
void destroy()
ClassLoader getChildClassLoader()
ModuleConfig getModuleConfig()
Copyright © 2018 Alibaba Group. All rights reserved.