summaryrefslogtreecommitdiff
path: root/repoze/bfg/interfaces.py
diff options
context:
space:
mode:
Diffstat (limited to 'repoze/bfg/interfaces.py')
-rw-r--r--repoze/bfg/interfaces.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/repoze/bfg/interfaces.py b/repoze/bfg/interfaces.py
index 53b01bfd6..582e8984d 100644
--- a/repoze/bfg/interfaces.py
+++ b/repoze/bfg/interfaces.py
@@ -120,6 +120,11 @@ class IRouter(Interface):
registry = Attribute(
"""Component architecture registry local to this application.""")
+class IAfterTraversal(Interface):
+ """ An event type that is emitted after repoze.bfg completes
+ traversal but before it calls any view code."""
+ request = Attribute('The request object')
+
class INewRequest(Interface):
""" An event type that is emitted whenever repoze.bfg begins to
process a new request """