-
Notifications
You must be signed in to change notification settings - Fork 1
PluginManager
The plugin manager is responsible for loading the plugins with the help of the PluginLoader.
The plugin manager uses the config file plugin.config.properties.
This config file has the following fields: mode. plugins and pluginDir.
There are the following modes.
In this mode both plugins and pluginDir are used. plugins is a comma seperated list of plugin names.
The plugin manager looks in the folder <pluginDir>/<pluginName> for every Plugin in plugins and then loads the jar located in the target folder of that plugin.
In this mode only pluginDir is used. The plugin manager loads all jars that are directly in the plugin directory.
In this mode only plugins is used. Here plugins is a comma seperated list of paths to jars.
The plugin manager loads all jars specified by plugins.