public abstract class AbstractExtraClassManager extends java.lang.Object implements PluginModuleAgent
构造器和说明 |
---|
AbstractExtraClassManager() |
限定符和类型 | 方法和说明 |
---|---|
java.util.Map<java.lang.String,Immutable> |
collectImmutableMap(java.lang.String mark) |
void |
demount(PluginSingleInjection injection)
卸载插件模块注入
|
protected abstract boolean |
demountSpecific(PluginSingleInjection injection) |
<T extends Mutable> |
getArray(java.lang.String mark) |
<T extends Mutable> |
getArray(java.lang.String mark,
Mutable defaultMutable) |
<T extends Immutable> |
getSingle(java.lang.String mark) |
<T extends Immutable> |
getSingle(java.lang.String mark,
java.lang.Class<? extends T> defaultType) |
<T extends Immutable> |
getSingle(java.lang.String mark,
java.lang.String pluginID) |
<T extends Immutable> |
getSingle(java.lang.String mark,
java.lang.String pluginID,
java.lang.Class<? extends T> defaultType) |
<T extends Immutable> |
getSingle(java.lang.String mark,
java.lang.String pluginID,
T defaultObject) |
<T extends Immutable> |
getSingle(java.lang.String mark,
T defaultObject) |
void |
mount(PluginSingleInjection injection)
装载插件模块注入
|
protected abstract boolean |
mountSpecific(PluginSingleInjection injection)
通用加载逻辑,首先走specific流程,如果specific返回false,说明为未走特殊流程
|
public void mount(PluginSingleInjection injection)
PluginModuleAgent
mount
在接口中 PluginModuleAgent
injection
- 插件模块注入对象public void demount(PluginSingleInjection injection)
PluginModuleAgent
demount
在接口中 PluginModuleAgent
injection
- 插件模块注入对象protected abstract boolean mountSpecific(PluginSingleInjection injection)
injection
- 注入protected abstract boolean demountSpecific(PluginSingleInjection injection)
public <T extends Mutable> java.util.Set<T> getArray(java.lang.String mark)
public <T extends Mutable> java.util.Set<T> getArray(java.lang.String mark, Mutable defaultMutable)
public java.util.Map<java.lang.String,Immutable> collectImmutableMap(java.lang.String mark)
public <T extends Immutable> T getSingle(java.lang.String mark)
public <T extends Immutable> T getSingle(java.lang.String mark, java.lang.String pluginID)
public <T extends Immutable> T getSingle(java.lang.String mark, java.lang.Class<? extends T> defaultType)
public <T extends Immutable> T getSingle(java.lang.String mark, java.lang.String pluginID, java.lang.Class<? extends T> defaultType)
public <T extends Immutable> T getSingle(java.lang.String mark, T defaultObject)
public <T extends Immutable> T getSingle(java.lang.String mark, java.lang.String pluginID, T defaultObject)