Class p.c.p.Registry(object):

Part of pida.core.plugins View In Hierarchy

No class docstring
Line # Kind Name Docs
460 Method __init__ Undocumented
472 Method register Register a plugin with in features, singletons and extension points.
519 Method get_plugin_from_singleton Returns the plugin associated with this singleton.
526 Method unregister Removes a plugin from the registry.
546 Method register_plugin Register a new plugin.
550 Method get_features Undocumented
555 Method get_singleton Undocumented
558 Method get_extension_point Undocumented
561 Method get_extension_point_def Undocumented
564 Method _check_plugin Undocumented
569 Method unregister_singleton Undocumented
579 Method unregister_feature In order to remove a feature u must have the associated plugin.
589 Method __iter__ Undocumented
592 Method clear Undocumented
def __init__(self, plugin_factory=PluginFactory):
Undocumented
def register(self, plugin, features, singletons, extension_points, extends):
Register a plugin with in features, singletons and extension points. This method should not be handled directly, use 'register_plugin' instead.

@param features: the features this plugin is associated with.

@param singletons: a list of singletons this plugin is registred to.

@param extension_points: a list of a tuple of two elements: the name of the extension point and the extension points defined on that extension point.

@param extends: a list of a tuple of two elements: the name of an extension point and the extension it should be registred.

def get_plugin_from_singleton(self, singleton):
Returns the plugin associated with this singleton.
def unregister(self, plugin):
Removes a plugin from the registry.
def register_plugin(self, *args, **kwargs):
Register a new plugin.
def get_features(self, feature, *args, **kwargs):
Undocumented
def get_singleton(self, singleton, *args, **kwargs):
Undocumented
def get_extension_point(self, holder_id, extension_point):
Undocumented
def get_extension_point_def(self, holder_id):
Undocumented
def _check_plugin(self, plugin):
Undocumented
def unregister_singleton(self, singleton):
Undocumented
def unregister_feature(self, feature, plugin):
In order to remove a feature u must have the associated plugin.
def __iter__(self):
Undocumented
def clear(self):
Undocumented
API Documentation for PIDA, generated by pydoctor.