Class e.c.s.ServiceManager(Manager):

Part of elisa.core.service_manager View In Hierarchy

Manage a list of service providers.
Line # Kind Name Docs
42 Method register_component Register a new component.
48 Method unregister_component Unregister a component.

Inherited from Manager:

Line # Kind Name Docs
65 Method __init__ Undocumented
73 Method clean Undocumented
194 Method plugin_status_changed_cb Callback meant to be invoked (by the plugin registry) when the status
70 Method _clean_component Undocumented
77 Method _load_components Asynchronously load and register a list of components.
117 Method _unload_components Asynchronously unregister and unload a list of components.
def register_component(self, component):
Register a new component.

When trying to register a component twice, an AlreadyRegistered failure will be returned.

Parameterscomponentthe component to register (type: elisa.core.component.Component )
Returnsa deferred fired when the component is registered (type: elisa.core.utils.defer.Deferred )
def unregister_component(self, component):
Unregister a component.

When trying to unregister a component that is not registered, a CannotUnregister failure will be returned.

Parameterscomponentthe component to unregister (type: elisa.core.component.Component )
Returnsa deferred fired when the component is unregistered (type: elisa.core.utils.defer.Deferred )
API Documentation for Elisa Media Center, generated by pydoctor at 2009-02-16 19:15:05.