Interface PluginManager
- All Known Implementing Classes:
PluginManagerImpl
public interface PluginManager
Manages registered plugin. Plugins are registered using the
ServiceLoader concept.-
Method Summary
-
Method Details
-
get
Get plugin instance.- 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.- Type Parameters:
T- Plugin type- Parameters:
pluginClass- Plugin class- Returns:
- Plugin instances.
- Throws:
GeneratorException- When plugin could not be loaded.
-