| Trees | Indices | Help |
|
|---|
|
|
Application is the entry point of Elisa. It groups all the necessary elements needed for Elisa to run. It is in charge of instantiating a Config and a PluginRegistry. Application also provides access to input events and data, and holds the user interfaces.
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
twisted.internet.defer.Deferred
|
|
||
|
Inherited from Inherited from |
|||
| Inherited from BaseApplication | |||
|---|---|---|---|
bool
|
|
||
| Class Variables | |
log_category = "application"
|
|
|
Inherited from |
|
| Instance Variables | |
| elisa.core.bus.Bus |
bus DOCME |
| elisa.core.config.Config |
config Application's configuration file, storing options |
| elisa.core.input_manager.InputManager |
input_manager DOCME |
| elisa.core.interface_controller.InterfaceController |
interface_controller DOCME |
| elisa.core.metadata_manager.MetadataManager |
metadata_manager DOCME |
| elisa.core.options.Options |
options Options passed on the command line when launching elisa |
| elisa.core.plugin_registry.PluginRegistry |
plugin_registry loads and manages the plugins |
| elisa.core.resource_manager.ResourceManager |
resource_manager DOCME |
| elisa.core.service_manager.ServiceManager |
service_manager DOCME |
elisa.extern.twisted_storm.store.DeferredStore
|
store the access point to the database using storm |
| Inherited from BaseApplication | |
|---|---|
bool
|
first_run wether or not the Application is being executed for the first time. |
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Log the traceback without stopping the process. This could ususally be used in parts, where you want to go on and log the exception. Example:
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()
|
Log the twisted failure without re-raising the exception. Example in an errback:
def errback(failure):
path = application.log_failure(failure)
self.warning("Connection refused. Full output at %s" % path)
return
|
Execute the application. Start the bus and the update checker. |
Stop the application.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Dec 1 10:54:29 2009 | http://epydoc.sourceforge.net |