| org.columba.api.plugin.IExtensionHandler
All known Subclasses: org.columba.core.plugin.ExtensionHandler,
IExtensionHandler | public interface IExtensionHandler (Code) | | Extension handler is a registry for extensions and resembles a hook
to extend Columba's functionality.
author: fdietz |
addExtension | public void addExtension(String id, IExtension extension)(Code) | | Add new extension to handler.
Parameters: id - extension id, unique for this extension handler Parameters: extension - extension |
exists | public boolean exists(String id)(Code) | | Check if extension exists.
Parameters: id - extension id true, if extension exists. False, otherwise. |
getExtension | public IExtension getExtension(String id)(Code) | | Get extension.
Parameters: id - extension id extension |
getExtensionEnumeration | public Enumeration<IExtension> getExtensionEnumeration()(Code) | | Retrieve enumeration of all extensions.
enumeration of IExtension |
getExternalExtensionsEnumeration | public Enumeration getExternalExtensionsEnumeration()(Code) | | Retrieve enumeration of all external extensions.
enumeration of IExtension |
getId | public String getId()(Code) | | Get id of this extension handler.
extension handler id |
getPluginIdList | public String[] getPluginIdList()(Code) | | Retrieve array of all extension ids.
String array of ids |
loadExtensionsFromStream | public void loadExtensionsFromStream(InputStream is)(Code) | | Add many extensions at once using a xml file.
Parameters: is - xml file path |
loadExternalExtensionsFromStream | public void loadExternalExtensionsFromStream(PluginMetadata pluginMetadata, InputStream is)(Code) | | Add many extensions at once using a xml file. In this case
these are all extensions which can only be loaded using
the plugin classloader.
Parameters: is - xml file path |
|
|