public abstract class PluginManager
extends java.lang.Object
构造器和说明 |
---|
PluginManager() |
限定符和类型 | 方法和说明 |
---|---|
static void |
addInjectionFilter(PluginInjectionFilter filter) |
static ClusterTicket |
getClusterTicket() |
static PluginContext |
getContext(java.lang.ClassLoader classLoader) |
static PluginContext |
getContext(PluginMarker marker) |
static PluginContext |
getContext(java.lang.String pluginID) |
static java.util.List<PluginContext> |
getContexts() |
static java.util.List<PluginContext> |
getContexts(PluginFilter filter) |
static PluginController |
getController() |
static PluginResourcePool |
getResourcePool() |
static PluginTaskResultFactory |
getTaskResultFactory() |
static boolean |
hasStarted() |
static boolean |
isLoadByPlugin(java.lang.Class<?> clazz)
判断是否是插件中的对象
|
static void |
packingTimeProcessing(java.lang.String rootPath,
java.lang.String coreJarName,
java.lang.String classPathJar) |
static void |
pretreatment(PluginPretreatmentConfig property)
插件打包前处理
|
static void |
registerBridge(PluginBridge aBridge) |
static void |
reload()
重新加载所有插件
|
static void |
startEngine()
必须在init之后调用
|
static void |
stopEngine() |
public static void registerBridge(PluginBridge aBridge)
public static void startEngine()
public static void stopEngine()
public static java.util.List<PluginContext> getContexts()
public static java.util.List<PluginContext> getContexts(PluginFilter filter)
public static PluginContext getContext(java.lang.String pluginID)
public static PluginContext getContext(PluginMarker marker)
public static PluginContext getContext(java.lang.ClassLoader classLoader)
public static void reload()
public static PluginResourcePool getResourcePool()
public static PluginController getController()
public static PluginTaskResultFactory getTaskResultFactory()
public static void pretreatment(PluginPretreatmentConfig property) throws java.lang.Exception
java.lang.Exception
public static boolean isLoadByPlugin(java.lang.Class<?> clazz)
public static boolean hasStarted()
public static void packingTimeProcessing(java.lang.String rootPath, java.lang.String coreJarName, java.lang.String classPathJar) throws java.lang.Exception
java.lang.Exception
public static ClusterTicket getClusterTicket()
public static void addInjectionFilter(PluginInjectionFilter filter)