public class DefaultPluginRegistry extends Object implements PluginRegistry
PluginRegistry that loads plugins
via the ServiceLoader.| Constructor and Description |
|---|
DefaultPluginRegistry() |
| Modifier and Type | Method and Description |
|---|---|
CockpitPlugin |
getPlugin(String id)
Returns the registered plugin with the given name or
null if the plugin does not exist. |
List<CockpitPlugin> |
getPlugins()
Returns all registered plugins
|
protected void |
loadPlugins() |
protected void loadPlugins()
public List<CockpitPlugin> getPlugins()
PluginRegistrygetPlugins in interface PluginRegistrypublic CockpitPlugin getPlugin(String id)
PluginRegistrynull if the plugin does not exist.getPlugin in interface PluginRegistryCopyright © 2015. All rights reserved.