[Zope-CVS] CVS: Products/Transience - TransienceInterfaces.py:1.4
Matthew T. Kromer
matt@zope.com
Tue, 23 Oct 2001 15:15:21 -0400
Update of /cvs-repository/Products/Transience
In directory cvs.zope.org:/tmp/cvs-serv10475
Modified Files:
TransienceInterfaces.py
Log Message:
Remove bogus pseudo-interface describing callback signature.
=== Products/Transience/TransienceInterfaces.py 1.3 => 1.4 ===
"""
-
-class TransientNotification(Interface.Base):
-
- """
- Specfies what something must conform to to receive callbacks from
- the setExecuteAfterAdd and SetExecuteBeforeDestruct functions. Note
- that this isn't a true interface -- the callbacks are registered, not
- evaluated by name.
- """
-
- def executeAfterAdd(self, item, context):
- """
- Called when an item is added. Item is the item being added,
- context is the environment context, where appropriate.
- """
-
- def executeBeforeDestruct(self, item, context):
- """
- Called when an item is deleted. Item is the item being deleted,
- context is the environment context, where appropriate.
- """