diff options
author | ianb <ianb@localhost> | 2005-08-25 19:37:03 +0000 |
---|---|---|
committer | ianb <ianb@localhost> | 2005-08-25 19:37:03 +0000 |
commit | f8cd35289cc87e1529efced52d5e9cbc3c423399 (patch) | |
tree | c4c567e52c79edc056c8b6d04d4ed903ddee7ac9 /paste/deploy/interfaces.py | |
parent | 98743455e80615911730d72766bfddda7532dd8d (diff) | |
download | pastedeploy-git-0.2b5.tar.gz |
Added filter-with option; fixed some error messages; changed protocol names0.2b70.2b60.2b50.2b40.2b30.2b20.2b1
Diffstat (limited to 'paste/deploy/interfaces.py')
-rw-r--r-- | paste/deploy/interfaces.py | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/paste/deploy/interfaces.py b/paste/deploy/interfaces.py index 5f649cb..63e37b2 100644 --- a/paste/deploy/interfaces.py +++ b/paste/deploy/interfaces.py @@ -35,10 +35,10 @@ def loadserver(uri, name=None, relative_to=None, global_conf=None): ## Factories ############################################################ -class IPasteAppFactory1: +class IPasteAppFactory: """ - This is the spec for the ``paste.app_factory1`` + This is the spec for the ``paste.app_factory`` protocol/entry_point. """ @@ -51,28 +51,28 @@ class IPasteAppFactory1: capture these values). """ -class IPasteCompositFactory1: +class IPasteCompositFactory: """ - This is the spec for the ``paste.composit_factory1`` + This is the spec for the ``paste.composit_factory`` protocol/entry_point. - This also produces WSGI applications, like ``paste.app_factory1``, + This also produces WSGI applications, like ``paste.app_factory``, but is given more access to the context in which it is loaded. """ def __call__(loader, global_conf, **local_conf): """ - Like IPasteAppFactory1 this returns a WSGI application + Like IPasteAppFactory this returns a WSGI application (IWSGIApp). The ``loader`` value conforms to the ``ILoader`` interface, and can be used to load (contextually) more applications. """ -class IPasteFilterFactory1: +class IPasteFilterFactory: """ - This is the spec for the ``paste.filter_factory1`` + This is the spec for the ``paste.filter_factory`` protocol/entry_point. """ @@ -81,10 +81,10 @@ class IPasteFilterFactory1: Returns a IFilter object. """ -class IPasteFilterAppFactory1: +class IPasteFilterAppFactory: """ - This is the spec for the ``paste.filter_app_factory1`` + This is the spec for the ``paste.filter_app_factory`` protocol/entry_point. """ @@ -96,10 +96,10 @@ class IPasteFilterAppFactory1: objects that implement the IFilter interface. """ -class IPasteServerFactory1: +class IPasteServerFactory: """ - This is the spec for the ``paste.server_factory1`` + This is the spec for the ``paste.server_factory`` protocol/entry_point. """ @@ -108,10 +108,10 @@ class IPasteServerFactory1: Returns a IServer object. """ -class IPasteServerRunner1: +class IPasteServerRunner: """ - This is the spec for the ``paste.server_runner1`` + This is the spec for the ``paste.server_runner`` protocol/entry_point. """ |