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

Supported by

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