| 程序包 | 说明 |
|---|---|
| cn.donting.plugin.spring.boot.starter | |
| cn.donting.plugin.spring.boot.starter.dev |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
PluginManger.autoLoadInstallPlug()
主程序 启动时是否自动加载以安装的插件
|
void |
DefaultPluginManger.autoLoadInstallPlug() |
boolean |
AbsPluginLoader.fileInspect(File file) |
boolean |
PluginLoader.fileInspect(File file)
加载的插件文件验证
|
PluginWrapper |
PluginManger.install(byte[] bytes)
安装插件
|
PluginWrapper |
DefaultPluginManger.install(byte[] bytes) |
PluginWrapper |
JarPluginLoader.load(File file) |
PluginWrapper |
PluginLoader.load(File file)
根据File 加载插件
|
void |
PluginManger.start(String pluginId)
启动插件
|
void |
DefaultPluginManger.start(String pluginId) |
PluginWrapper |
PluginManger.update(byte[] bytes,
String id)
更新插件
|
PluginWrapper |
DefaultPluginManger.update(byte[] bytes,
String pluginId) |
| 限定符和类型 | 方法和说明 |
|---|---|
PluginWrapper |
DevPluginLoader.load(File file) |
Copyright © 2020. All rights reserved.