public abstract class PluginInjectionFilter<T>
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
static StableKey<PluginInjectionFilter> |
KEY |
限定符 | 构造器和说明 |
---|---|
protected |
PluginInjectionFilter(java.lang.Class<T> filterClass)
假泛型比较难受
|
限定符和类型 | 方法和说明 |
---|---|
java.lang.Class<T> |
getInjectionClass()
处理的插件接口类型
假泛型很难受
|
abstract void |
off(T t,
PluginContext context)
卸载
|
abstract void |
on(T t,
PluginContext context)
装载
|
public static final StableKey<PluginInjectionFilter> KEY
protected PluginInjectionFilter(java.lang.Class<T> filterClass)
public final java.lang.Class<T> getInjectionClass()
public abstract void on(T t, PluginContext context)
public abstract void off(T t, PluginContext context)