Skip to main content

ZODB Database startup events backported to Zope 2

Project description

five.dbevent

Backport the notification of DatabaseOpenedWithRoot event to Zope 2.

This might be useful to initialize components once the zope database is ready (see also zope.app.generations)

Install

As its setup is done with collective.monkeypatcher, you need to include five.dbevent configure.zcml

Implementation

The package adds an __init__ method to Zope2.App.startup.TransactionsManager. It sends the DatabaseOpenedWithRoot event when the TransactionsManager is instantiated. This happens just after the initialization of the root folder (see Zope2.App.startup.startup).

Changelog

0.1.1 (2010-01-12)

  • Fix package metadata

0.1 (2010-01-12)

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

five.dbevent-0.1.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page