Package cn.mapway.ui.server.mvc
Class Temp
- java.lang.Object
-
- cn.mapway.ui.server.mvc.Temp
-
- All Implemented Interfaces:
ModuleFactory
public class Temp extends Object implements ModuleFactory
Temp- Author:
- zhang
-
-
Constructor Summary
Constructors Constructor Description Temp()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IModulecreateModule(String moduleCode, boolean single)根据代码实例化模块.ModuleInfofindModuleInfo(String moduleCode)根据模块代码找到模块信息ModuleInfofindModuleInfoByHash(String hash)根据模块哈希找到模块信息List<ModuleInfo>getModules()获取系统中的所有可用模块.List<ModuleInfo>getRootModules()返回根模块列表ModuleInforegisterComponent(ModuleInfo moduleInfo)注册一个Java组件
-
-
-
Method Detail
-
createModule
public IModule createModule(String moduleCode, boolean single)
Description copied from interface:ModuleFactory根据代码实例化模块.- Specified by:
createModulein interfaceModuleFactory- Parameters:
moduleCode- the module codesingle- the single- Returns:
- the i frame module
-
getModules
public List<ModuleInfo> getModules()
Description copied from interface:ModuleFactory获取系统中的所有可用模块.- Specified by:
getModulesin interfaceModuleFactory- Returns:
- the modules
-
getRootModules
public List<ModuleInfo> getRootModules()
Description copied from interface:ModuleFactory返回根模块列表- Specified by:
getRootModulesin interfaceModuleFactory- Returns:
-
findModuleInfo
public ModuleInfo findModuleInfo(String moduleCode)
Description copied from interface:ModuleFactory根据模块代码找到模块信息- Specified by:
findModuleInfoin interfaceModuleFactory- Parameters:
moduleCode- the module code- Returns:
- module info
-
findModuleInfoByHash
public ModuleInfo findModuleInfoByHash(String hash)
Description copied from interface:ModuleFactory根据模块哈希找到模块信息- Specified by:
findModuleInfoByHashin interfaceModuleFactory- Parameters:
hash- the hash- Returns:
- module info
-
registerComponent
public ModuleInfo registerComponent(ModuleInfo moduleInfo)
Description copied from interface:ModuleFactory注册一个Java组件- Specified by:
registerComponentin interfaceModuleFactory- Returns:
-
-