public class ExtraClassManager extends AbstractExtraClassManager implements ExtraClassManagerProvider
客户定制逻辑可能和我们现有逻辑不同,这个时候就需要提供一个接口, 分别做一个默认实现和一个客户实现这样在后续升级的时候也不会因为定制问题而造成客户无法升级
XML_TAG
构造器和说明 |
---|
ExtraClassManager() |
限定符和类型 | 方法和说明 |
---|---|
protected boolean |
demountSpecific(PluginSingleInjection injection) |
RequestCMDReceiver |
getActionCMD(java.lang.String op,
java.lang.String cmd)
获取指定Action
|
<T extends RequestCMDReceiver> |
getActionCMD(java.lang.String op,
java.lang.String cmd,
java.lang.Class<T> t)
获取指定Action
|
RequestCMDReceiver |
getActionCMD(java.lang.String op,
java.lang.String cmd,
java.lang.String pluginID)
获取指定Action
|
java.util.Set<ObjectTableMapper> |
getExtraObjectTableMappers() |
FunctionDef[] |
getFunctionDef()
获取Function定义
|
FunctionProcessor |
getFunctionProcessor()
获取功能点接口
|
static ExtraClassManager |
getInstance() |
Service[] |
getServices()
获取支持的service
|
XMLFileManagerProvider[] |
getXmlFileManagers() |
protected boolean |
mountSpecific(PluginSingleInjection injection)
通用加载逻辑,首先走specific流程,如果specific返回false,说明为未走特殊流程
|
void |
setFunctionProcessor(FunctionProcessor processor)
设置功能点
|
collectImmutableMap, demount, getArray, getArray, getSingle, getSingle, getSingle, getSingle, getSingle, getSingle, mount
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
collectImmutableMap, getArray, getArray, getSingle, getSingle, getSingle, getSingle, getSingle, getSingle
public static ExtraClassManager getInstance()
public Service[] getServices()
ExtraClassManagerProvider
getServices
在接口中 ExtraClassManagerProvider
public XMLFileManagerProvider[] getXmlFileManagers()
public FunctionProcessor getFunctionProcessor()
ExtraClassManagerProvider
getFunctionProcessor
在接口中 ExtraClassManagerProvider
public void setFunctionProcessor(FunctionProcessor processor)
ExtraClassManagerProvider
public RequestCMDReceiver getActionCMD(java.lang.String op, java.lang.String cmd)
ExtraClassManagerProvider
getActionCMD
在接口中 ExtraClassManagerProvider
public RequestCMDReceiver getActionCMD(java.lang.String op, java.lang.String cmd, java.lang.String pluginID)
ExtraClassManagerProvider
getActionCMD
在接口中 ExtraClassManagerProvider
public <T extends RequestCMDReceiver> T getActionCMD(java.lang.String op, java.lang.String cmd, java.lang.Class<T> t)
ExtraClassManagerProvider
getActionCMD
在接口中 ExtraClassManagerProvider
public FunctionDef[] getFunctionDef()
ExtraClassManagerProvider
getFunctionDef
在接口中 ExtraClassManagerProvider
protected boolean demountSpecific(PluginSingleInjection injection)
demountSpecific
在类中 AbstractExtraClassManager
protected boolean mountSpecific(PluginSingleInjection injection)
AbstractExtraClassManager
mountSpecific
在类中 AbstractExtraClassManager
injection
- 注入public java.util.Set<ObjectTableMapper> getExtraObjectTableMappers()