diff options
author | Lance Stout <lancestout@gmail.com> | 2012-03-11 18:09:45 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-03-12 16:24:18 -0700 |
commit | 01b24999152c1eecceeac96c13f6e3e29ff10a6c (patch) | |
tree | 53eaaccadbff54410c6add62d63d3577603edee9 /tests/test_stanza_element.py | |
parent | 9f43d31bf511e0917f11b7edcac93921100383b7 (diff) | |
download | slixmpp-01b24999152c1eecceeac96c13f6e3e29ff10a6c.tar.gz slixmpp-01b24999152c1eecceeac96c13f6e3e29ff10a6c.tar.bz2 slixmpp-01b24999152c1eecceeac96c13f6e3e29ff10a6c.tar.xz slixmpp-01b24999152c1eecceeac96c13f6e3e29ff10a6c.zip |
Introduce new plugin system.
The new system is backward compatible and will load older style plugins.
The new plugin framework allows plugins to track their dependencies, and
will auto-enable plugins as needed.
Dependencies are tracked via a class-level set named `dependencies` in
each plugin.
Plugin names are no longer tightly coupled with the plugin class name,
Pso EP8 style class names may be used.
Disabling plugins is now allowed, but ensuring proper cleanup is left to
the plugin implementation.
The use of a `post_init()` method is no longer needed for new style
plugins, but plugins following the old style will still require a
`post_init()` method.
Diffstat (limited to 'tests/test_stanza_element.py')
0 files changed, 0 insertions, 0 deletions