Class PluginManagerImpl
java.lang.Object
io.wcm.devops.conga.generator.util.PluginManagerImpl
- All Implemented Interfaces:
PluginManager
Manages registered plugin. Plugins are registered using the
ServiceLoader concept.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PluginManagerImpl
public PluginManagerImpl()
-
-
Method Details
-
get
Get plugin instance.- Specified by:
getin interfacePluginManager- Type Parameters:
T- Plugin type- Parameters:
name- Plugin namepluginClass- Plugin class- Returns:
- Plugin instance.
- Throws:
GeneratorException- When plugin is not found.
-
getAll
Get all plugin instance.- Specified by:
getAllin interfacePluginManager- Type Parameters:
T- Plugin type- Parameters:
pluginClass- Plugin class- Returns:
- Plugin instances.
- Throws:
GeneratorException- When plugin could not be loaded.
-