Part of elisa.core.components.service_provider View In Hierarchy
Known subclasses: elisa.core.tests.test_service_manager.SimpleService, elisa.plugins.coherence.coherence_service.CoherenceService, elisa.plugins.database.dbus_service.DatabaseDBusServiceProvider, elisa.plugins.elisa_updater.updater_service.UpdaterService, elisa.plugins.gnome.gnome_screensaver_service.GnomeScreensaverService, elisa.plugins.httpd.http_server.HttpServer, elisa.plugins.lastfm.lastfm_scrobbler.LastfmScrobbler, elisa.plugins.osso.osso_service.OssoService, elisa.plugins.testing.file_descriptor_monitor.FileDescriptorMonitor, elisa.plugins.testing.threads_monitor.ThreadsMonitor, elisa.plugins.winscreensaver.winscreensaver.WinScreenSaver
Service providers run during all the lifetime of the application.
They are started first in the components initialization sequence, so they should listen to the message bus for the 'components_initialized' message before communication with other components.Line # | Kind | Name | Docs |
---|---|---|---|
32 | Method | start | Start the service. |
41 | Method | stop | Stop the service. |
Inherited from Component:
Line # | Kind | Name | Docs |
---|---|---|---|
85 | Class | PathDescriptor | Undocumented |
97 | Class Method | create | Create and initialize the component. |
130 | Method | initialize | Initialize the component. |
142 | Method | clean | Clean the component. |
Inherited from Loggable (via Component):
Line # | Kind | Name | Docs |
---|---|---|---|
81 | Method | __init__ | Undocumented |
Start the service.
return: a deferred fired when the service is started rtype:elisa.core.utils.defer.Deferred
Stop the service.
return: a deferred fired when the service is started rtype:elisa.core.utils.defer.Deferred