| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Plugin | Returns: A provider or null if not found.The plugin provider name. name, ModuleLayer pluginsLayer)Retrieves the plugin associated to the passed name. |
| private static <T extends Plugin> T | |
| public static List | |
| private static <T extends Plugin> List | Returns: The list of plugins.The plugins accessible in the current context. |
| public static Plugin | |
| public static synchronized void | registerPlugin(Plugin
The plugin to register. plugin)Explicit registration of a plugin in the repository. |
| public static synchronized void |
| registeredPlugins | back to summary |
|---|---|
| private static final Map<String, Plugin> registeredPlugins | |
| PluginRepository | back to summary |
|---|---|
| private PluginRepository() | |
| getPlugin | back to summary |
|---|---|
| public static Plugin getPlugin(String name, ModuleLayer pluginsLayer) Retrieves the plugin associated to the passed name. If multiple providers exist for the same name, then an exception is thrown. | |
| getPlugin | back to summary |
|---|---|
| private static <T extends Plugin> T getPlugin(Class<T> clazz, String name, ModuleLayer pluginsLayer) | |
| getPlugins | back to summary |
|---|---|
| public static List | |
| getPlugins | back to summary |
|---|---|
| private static <T extends Plugin> List The plugins accessible in the current context.
| |
| newPlugin | back to summary |
|---|---|
| public static Plugin newPlugin(Map<String, String> config, String name, ModuleLayer pluginsLayer) Build plugin for the passed name. | |
| registerPlugin | back to summary |
|---|---|
| public static synchronized void registerPlugin(Plugin plugin) Explicit registration of a plugin in the repository. Used by unit tests
| |
| unregisterPlugin | back to summary |
|---|---|
| public static synchronized void unregisterPlugin(String name) Explicit unregistration of a plugin in the repository. Used by unit tests
| |