Package elisa :: Package core :: Module common
[hide private]
[frames] | no frames]

Module common

source code

This module provides access to the singleton application and a boot function which initializes the global application execution environment.

Functions [hide private]
 
set_application(app)
Set the application singleton's value.
source code
 
boot()
Initializes the global application execution.
source code
Variables [hide private]
  __maintainer__ = 'Philippe Normand <philippe@fluendo.com>'
elisa.core.application.Application application = 'frontend'
the Elisa application
bool booted = True
has execution environment been initialized by calling boot?
  from_test = True
Function Details [hide private]

set_application(app)

source code 
Set the application singleton's value. Overrides previous value.
Parameters:

boot()

source code 

Initializes the global application execution. Can't be called more
than once.

- install Twisted's glib2reactor
- initialize the logging framework
- clean namespace regarding pygst import