zope.processlifetime
¶
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]¶ 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]¶ Implementation of
IDatabaseOpenedWithRoot
.
-
interface
zope.processlifetime.
IProcessStarting
[source]¶ The application server process is starting.
-
class
zope.processlifetime.
ProcessStarting
[source]¶ Implementation of
IProcessStarting
.
Project URLs¶
- https://pypi.python.org/pypi/zope.processlifetime (PyPI entry and downloads)