# Class e.c.c.s.ServiceProvider(Component):

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.coherence.upnp_media_renderer.UPnPMediaRenderer, elisa.plugins.coherence.upnp_media_server.UPnPMediaServer, 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.media_db.media_scanner.MediaScanner, elisa.plugins.osso.osso_service.OssoService, elisa.plugins.testing.file_descriptor_monitor.FileDescriptorMonitor, elisa.plugins.testing.threads_monitor.ThreadsMonitor, elisa.plugins.twisted.twisted_pb_service.TwistedPBService

ServiceProviders 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
--- | --- | --- | ---
31 | Method | start | Start the service.
38 | 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

def start(self):
overridden in elisa.core.tests.test_service_manager.SimpleService, elisa.plugins.database.dbus_service.DatabaseDBusServiceProvider, elisa.plugins.elisa_updater.updater_service.UpdaterService, elisa.plugins.httpd.http_server.HttpServer, elisa.plugins.lastfm.lastfm_scrobbler.LastfmScrobbler, elisa.plugins.media_db.media_scanner.MediaScanner, elisa.plugins.testing.file_descriptor_monitor.FileDescriptorMonitor, elisa.plugins.testing.threads_monitor.ThreadsMonitor

Start the service.

DOCME more

def stop(self):
overridden in 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.httpd.http_server.HttpServer, elisa.plugins.lastfm.lastfm_scrobbler.LastfmScrobbler, elisa.plugins.media_db.media_scanner.MediaScanner, elisa.plugins.testing.file_descriptor_monitor.FileDescriptorMonitor, elisa.plugins.testing.threads_monitor.ThreadsMonitor

Stop the service.

DOCME more