summaryrefslogtreecommitdiff
path: root/docs/zcml/utility.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-01-19 02:08:12 +0000
committerChris McDonough <chrism@agendaless.com>2010-01-19 02:08:12 +0000
commit37bcb77a86b73151c781d8b0b8c2d3d4e14f5fe7 (patch)
treeb59bda2b0e5151ffe17b39f6fa6e82d6409b333e /docs/zcml/utility.rst
parent56971c5db0ba61bdc270da8e72c35708f93d9e11 (diff)
downloadpyramid-37bcb77a86b73151c781d8b0b8c2d3d4e14f5fe7.tar.gz
pyramid-37bcb77a86b73151c781d8b0b8c2d3d4e14f5fe7.tar.bz2
pyramid-37bcb77a86b73151c781d8b0b8c2d3d4e14f5fe7.zip
Bug Fixes
--------- - When the ``Configurator`` is passed an instance of ``zope.component.registry.Components`` as a ``registry`` constructor argument, fix the instance up to have the attributes we expect of an instance of ``repoze.bfg.registry.Registry`` when ``setup_registry`` is called. This makes it possible to use the global Zope component registry as a BFG application registry. Documentation ------------- - Change renderings of ZCML directive documentation. - Add a narrative documentation chapter: "Using the Zope Component Architecture in ``repoze.bfg``"
Diffstat (limited to 'docs/zcml/utility.rst')
-rw-r--r--docs/zcml/utility.rst4
1 files changed, 0 insertions, 4 deletions
diff --git a/docs/zcml/utility.rst b/docs/zcml/utility.rst
index 88198eaa0..1341dfb83 100644
--- a/docs/zcml/utility.rst
+++ b/docs/zcml/utility.rst
@@ -9,22 +9,18 @@ Attributes
~~~~~~~~~~
``component``
-
The utility component (cannot be specified if ``factory`` is
specified).
``factory``
-
A factory that creates a component (cannot be specified if
``component`` is specified).
``provides``
-
The :term:`interface` that an utility instance resulting from a
lookup will provide.
``name``
-
The utility name.
Example