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

Part of elisa.core.service_manager View In Hierarchy

ServiceManager instanciates the ServiceProvider components and keeps track of them.

Line # | Kind | Name | Docs
--- | --- | --- | ---
29 | Method | start | Start all the registered ServiceProviders.
37 | Method | stop | Stop all the registered ServiceProviders.
48 | Method | unregister_component | Clean a ServiceProvider and unregister it from the ServiceManager.

Inherited from Manager:

Line # | Kind | Name | Docs
--- | --- | --- | ---
54 | Method | __init__ | Initialize the _components instance variable and the
63 | Method | load_components | Load a list of components in sequence.
125 | Method | register_component | Register a new Component

def start(self):
overrides elisa.core.manager.Manager.start
Start all the registered ServiceProviders.

def stop(self):
overrides elisa.core.manager.Manager.stop
Stop all the registered ServiceProviders.

def unregister_component(self, component):
overrides elisa.core.manager.Manager.unregister_component
Clean a ServiceProvider and unregister it from the ServiceManager.

Parameters | component | the ServiceProvider instance to unregister (type: `elisa.core.components.service_provider.ServiceProvider` )
Raises | CannotUnregister | raised when the component cannot be removed