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 |
|---|---|---|---|
| 68 | Method | __init__ | Undocumented |
| 73 | Method | monitor_bus | Undocumented |
| 81 | Method | clean | Undocumented |
| 78 | Method | _clean_component | Undocumented |
| 93 | Method | _load_components | Asynchronously load and register a list of components. |
| 133 | Method | _unload_components | Asynchronously unregister and unload a list of components. |
| 209 | Method | _plugin_status_changed_cb | Undocumented |
Register a new component.
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
) | |
Unregister a component.
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
) | |