Class DefaultAppPluginRegistry<T extends AppPlugin>
java.lang.Object
org.camunda.bpm.webapp.plugin.impl.DefaultAppPluginRegistry<T>
- All Implemented Interfaces:
AppPluginRegistry<T>
public class DefaultAppPluginRegistry<T extends AppPlugin>
extends Object
implements AppPluginRegistry<T>
Default implementation of
AppPluginRegistry
that loads Plugins
via the ServiceLoader
facilities provided by the Java SE platform.- Author:
- nico.rehwaldt, Daniel Meyer
-
Field Summary
Modifier and TypeFieldDescriptionthe interface type of plugins managed by this registry -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the registered plugin with the given name ornull
if the plugin does not exist.Returns all registered pluginsprotected void
-
Field Details
-
pluginType
the interface type of plugins managed by this registry -
pluginsMap
-
-
Constructor Details
-
DefaultAppPluginRegistry
-
-
Method Details
-
loadPlugins
protected void loadPlugins() -
getPlugins
Description copied from interface:AppPluginRegistry
Returns all registered plugins- Specified by:
getPlugins
in interfaceAppPluginRegistry<T extends AppPlugin>
- Returns:
-
getPlugin
Description copied from interface:AppPluginRegistry
Returns the registered plugin with the given name ornull
if the plugin does not exist.- Specified by:
getPlugin
in interfaceAppPluginRegistry<T extends AppPlugin>
- Returns:
-