Package Products :: Package ZenUtils :: Package celeryintegration :: Module loader :: Class ZenossLoader
[hide private]
[frames] | no frames]

Class ZenossLoader

source code

                    object --+    
                             |    
celery.loaders.base.BaseLoader --+
                                 |
                                ZenossLoader

Instance Methods [hide private]
 
on_worker_process_init(self)
Clear out connections and dbs
source code
 
read_configuration(self)
Build a Celery configuration dictionary using global.conf.
source code

Inherited from celery.loaders.base.BaseLoader: __init__, cmdline_config_parser, conf, config_from_envvar, config_from_object, import_default_modules, import_from_cwd, import_module, import_task_module, init_worker, init_worker_process, mail, mail_admins, now, on_process_cleanup, on_task_init, on_worker_init

Class Variables [hide private]
  override_backends = {'zodb': 'Products.ZenUtils.celeryintegrat...

Inherited from celery.loaders.base.BaseLoader: builtin_modules, configured, error_envvar_not_set, worker_initialized

Inherited from celery.loaders.base.BaseLoader (private): _conf

Method Details [hide private]

on_worker_process_init(self)

source code 

Clear out connections and dbs

Overrides: celery.loaders.base.BaseLoader.on_worker_process_init

read_configuration(self)

source code 

Build a Celery configuration dictionary using global.conf.

This configuration may be overwritten or augmented later by a daemon.

Overrides: celery.loaders.base.BaseLoader.read_configuration

Class Variable Details [hide private]

override_backends

Value:
{'zodb': 'Products.ZenUtils.celeryintegration.ZODBBackend'}