📄 pluginloader.java
字号:
package com.opensymphony.tonic.loaders;
import com.opensymphony.tonic.PluginParseException;
import com.opensymphony.tonic.ModuleDescriptorFactory;
import com.opensymphony.tonic.Plugin;
import com.opensymphony.tonic.PluginException;
import java.util.Collection;
public interface PluginLoader
{
Collection loadAllPlugins(ModuleDescriptorFactory moduleDescriptorFactory) throws PluginParseException;
/**
* @return true if this PluginLoader tracks whether or not plugins are added to it.
*/
boolean supportsAddition();
/**
* @return true if this PluginLoader tracks whether or not plugins are removed from it.
*/
boolean supportsRemoval();
/**
* @return a collection of discovered plugins which have now been loaded by this pluginloader
*/
Collection addFoundPlugins(ModuleDescriptorFactory moduleDescriptorFactory);
/**
* Remove a specific tonic
*/
void removePlugin(Plugin plugin) throws PluginException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -