Part of elisa.core.application View In Hierarchy
| Instance Variables | plugin_registry | loads and manages the plugins
(type: elisa.core.plugin_registry.PluginRegistry
) |
| config | Application's configuration file, storing options
(type: elisa.core.config.Config
) | |
| options | Options passed on the command line when launching elisa
(type: elisa.core.options.Options
) | |
| bus | DOCME
(type: elisa.core.bus.Bus
) | |
| metadata_manager | DOCME
(type: elisa.core.metadata_manager.MetadataManager
) | |
| resource_manager | DOCME
(type: elisa.core.resource_manager.ResourceManager
) | |
| service_manager | DOCME
(type: elisa.core.service_manager.ServiceManager
) | |
| interface_controller | DOCME
(type: elisa.core.interface_controller.InterfaceController
) | |
| input_manager | DOCME
(type: elisa.core.input_manager.InputManager
) | |
| store | the access point to the database using storm
(type: elisa.extern.twisted_storm.store.DeferredStore
) |
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 269 | Method | __init__ | |
| 383 | Method | log_traceback | Log the traceback without stopping the process. This could ususally be |
| 404 | Method | log_failure | Log the twisted failure without re-raising the exception. Example in |
| 424 | Method | initialize | Load the providers for the different managers, then initialize the |
| 482 | Method | initialize_db | initialize the database depending on the configuration |
| 502 | Method | start | Execute the application. Start the Managers and the |
| 522 | Method | stop | Stop the application. |
| 318 | Method | _update_check_callback | Undocumented |
| 350 | Method | _load_exception_hook | Override the default system exception hook with our own |
| 362 | Method | _excepthook | Undocumented |
| 368 | Method | _after_hook | Undocumented |
| 584 | Method | _close_splash_screen | Undocumented |
| 588 | Method | _on_copydata | Undocumented |
Inherited from BaseApplication:
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 181 | Method | _create_plugin_registry | Undocumented |
| 189 | Method | _get_config_filename | Undocumented |
| 208 | Method | _load_config | Undocumented |
| Parameters | config_filename | the config filename to use. Can be absolute or relative path (type: string or None to use default config file ) |
try:
component.initialize()
except:
# and log all the other exceptions
path = application.log_traceback()
self.warning("Initilize Component '%s' failed. Traceback saved at %s" % path)
self.going_on()
| Returns | path to the file, where the traceback got logged | |
def errback(failure):
path = application.log_failure(failure)
self.warning("Connection refused. Full output at %s" % path)
return
| Parameters | failure | the failure to log
(type: twisted.python.failure.Failure
) |
| Returns | path to the file, where the traceback got logged | |