PluginManager¶
-
class
tenjint.plugins.plugins.
PluginManager
[source]¶ The plugin manager.
The plugin manager is the main component of the plugin subsystem. It is responsible for loading and unloading plugins.
Methods
Initialize self.
Get all plugins contained in a module.
Import and load all plugins contained in a directory.
PluginManager.import_and_load_file
(path[, …])Import and load all plugins contained in python source file.
PluginManager.import_directory
(path[, …])Import all python source files in a directory.
PluginManager.import_file
(path[, module_name])Import a python source file.
PluginManager.load_module
(mod, **kwargs)Load all plugins contained in a module.
PluginManager.load_plugin
(cls, **kwargs)Load the given plugin class.
Load all user plugins specified in the configuration.
Unload all plugins.
PluginManager.unload_plugin
(plugin)Unload the given plugin.