zope.processlifetime

Latest release Supported Python versions https://travis-ci.com/zopefoundation/zope.processlifetime.svg?branch=master https://coveralls.io/repos/github/zopefoundation/zope.processlifetime/badge.svg?branch=master Documentation Status

This package provides interfaces / implementations for events relative to the lifetime of a server process (startup, database opening, etc.) These events are usually used with zope.event.

Documentation is hosted at https://zopeprocesslifetime.readthedocs.io/en/latest/

This is a simple package consisting of just a few interfaces and implementations.

Events in the lifetime of a server process.

interface zope.processlifetime.IDatabaseOpened[source]

The main database has been opened.

database

The main database.

class zope.processlifetime.DatabaseOpened(database)[source]

Bases: object

Implementation of IDatabaseOpened.

interface zope.processlifetime.IDatabaseOpenedWithRoot[source]

The main database has been opened having the root application object.

This typically follows IDatabaseOpened.

database

The main database.

class zope.processlifetime.DatabaseOpenedWithRoot(database)[source]

Bases: object

Implementation of IDatabaseOpenedWithRoot.

interface zope.processlifetime.IProcessStarting[source]

The application server process is starting.

class zope.processlifetime.ProcessStarting[source]

Bases: object

Implementation of IProcessStarting.

Development

zope.processlifetime is hosted at GitHub:

Project URLs

Indices and tables