[Zope-Checkins] CVS: Zope3/lib/python/Zope/ComponentArchitecture - IComponentArchitecture.py:1.1.2.4
Jim Fulton
jim@zope.com
Tue, 20 Nov 2001 16:30:51 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/ComponentArchitecture
In directory cvs.zope.org:/tmp/cvs-serv16284
Modified Files:
Tag: Zope-3x-branch
IComponentArchitecture.py
Log Message:
Added documentation for provideFactory and createObject.
=== Zope3/lib/python/Zope/ComponentArchitecture/IComponentArchitecture.py 1.1.2.3 => 1.1.2.4 ===
The object also provides a place to look for placeful presentations.
"""
+
+ def provideFactory(name, factory):
+ """Provide a factory for the given name.
+ """
+
+ def createObject(object, name):
+ """Create a new object using the factory with the given name
+
+ The object provides a place to look for placeful presentations.
+ """
+