Plugin Registry
The PluginRegistry is in charge of loading and keeping track of PyFDL's plugins.
pyfdl.plugins.registry
PluginRegistry()
The PluginRegistry loads and registers all plugins and built in handlers.
add_handler(handler)
Add a handler to the collection of handlers Args: handler: plugin or built-in handler to add
get_handler_by_name(handler_name, func_name)
Get a registered handler by handler_name, and
make sure it has a function (func_name) to call
| Parameters: |
|
|---|
| Returns: |
|
|---|
| Raises: |
|
|---|
get_handler_by_suffix(suffix, func_name)
Get a registered handler by suffix, and
make sure it has a function (func_name) to call
| Parameters: |
|
|---|
| Returns: |
|
|---|
| Raises: |
|
|---|
load_builtin()
Load the built-in handlers
load_plugins()
Load plugins from the "pyfdl.plugins" namespace.
get_registry(reload=False)
Get the active registry containing plugins and built-in handlers
| Returns: |
|
|---|