Part of elisa.core.service_manager View In Hierarchy
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. |
When trying to register a component twice, an AlreadyRegistered failure will be returned.
Parameters | component | the component to register
(type: elisa.core.component.Component
) |
Returns | a deferred fired when the component is registered
(type: elisa.core.utils.defer.Deferred
) |
When trying to unregister a component that is not registered, a CannotUnregister failure will be returned.
Parameters | component | the component to unregister
(type: elisa.core.component.Component
) |
Returns | a deferred fired when the component is unregistered
(type: elisa.core.utils.defer.Deferred
) |