public class ModuleUtil
extends java.lang.Object
Description: 加载配置文件
Title:首亨软件 - TSS/CRM等
构造器和说明 |
---|
ModuleUtil() |
限定符和类型 | 方法和说明 |
---|---|
static Module |
getModule(java.lang.String id)
获取模块对象
|
static void |
loadAllModule()
加载所有模块
|
static java.lang.Object |
processModule(java.lang.String id,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SH3Action action)
执行模块
|
static void |
refreshModule(java.lang.String id,
Module mu)
刷新模块
|
public static Module getModule(java.lang.String id)
id
- Stringpublic static void loadAllModule() throws java.io.FileNotFoundException, java.lang.Exception
java.lang.Exception
- Exceptionjava.io.FileNotFoundException
- FileNotFoundExceptionpublic static void refreshModule(java.lang.String id, Module mu)
id
- Stringmu
- Modulepublic static java.lang.Object processModule(java.lang.String id, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SH3Action action) throws java.lang.Exception
id
- Stringrequest
- HttpServletRequestresponse
- HttpServletResponseaction
- SH3Actionjava.lang.Exception
- Exception