Part of elisa.core.component View In Hierarchy
Known subclasses: elisa.core.components.capability.Capability, elisa.core.components.controller.Controller, elisa.core.components.frontend.Frontend, elisa.core.components.input_provider.InputProvider, elisa.core.components.metadata_provider.MetadataProvider, elisa.core.components.resource_provider.ResourceProvider, elisa.core.components.service_provider.ServiceProvider, elisa.plugins.database.database_parser.DatabaseParser, elisa.plugins.database.processor.Processor, elisa.plugins.gstreamer.amp_master.GstMetadataAmpClient, elisa.plugins.poblesec.base.hierarchy.HierarchyController, elisa.plugins.poblesec.base.list.GenericListViewMode, elisa.plugins.search.searcher.Searcher
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:
Line # | Kind | Name | Docs |
---|---|---|---|
81 | Method | __init__ | Undocumented |
A component should always be created by calling
Component.create
and not by instantiating the component class
directly.
Parameters | config_section | the configuration section to set for the component
(type: elisa.core.config.Config
) |
Returns | an instance of the component
(type: elisa.core.component.Component
or a subclass
) |
This method is called by Component.create
to finish the
initialization of a component.
Returns | a deferred called when a component is fully initialized
(type: twisted.internet.defer.Deferred
) |
This method is called when a component is not needed anymore to clean its state.
Returns | a deferred called when the component has finished cleaning its state
(type: twisted.internet.defer.Deferred
) |